initial commits
parent
0e905c15c9
commit
66ab70ee0b
|
@ -15,7 +15,7 @@ import (
|
|||
// Would write this HTML <meta/> element:
|
||||
//
|
||||
// <meta property="fc:frame:button:1:target" content="https://example.com/thing/do-it" />
|
||||
func WriteFrameButton1Target(writer io.Writer, url string) {
|
||||
func WriteFrameButton1Target(writer io.Writer, target string) {
|
||||
const property string = MetaPropertyFrameButton1Target
|
||||
writeMetaPropertyContent(writer, property, url)
|
||||
writeMetaPropertyContent(writer, property, target)
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ import (
|
|||
// Would write this HTML <meta/> element:
|
||||
//
|
||||
// <meta property="fc:frame:button:2:target" content="https://example.com/thing/do-it" />
|
||||
func WriteFrameButton2Target(writer io.Writer, url string) {
|
||||
func WriteFrameButton2Target(writer io.Writer, target string) {
|
||||
const property string = MetaPropertyFrameButton2Target
|
||||
writeMetaPropertyContent(writer, property, url)
|
||||
writeMetaPropertyContent(writer, property, target)
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ import (
|
|||
// Would write this HTML <meta/> element:
|
||||
//
|
||||
// <meta property="fc:frame:button:3:target" content="https://example.com/thing/do-it" />
|
||||
func WriteFrameButton3Target(writer io.Writer, url string) {
|
||||
func WriteFrameButton3Target(writer io.Writer, target string) {
|
||||
const property string = MetaPropertyFrameButton3Target
|
||||
writeMetaPropertyContent(writer, property, url)
|
||||
writeMetaPropertyContent(writer, property, target)
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ import (
|
|||
// Would write this HTML <meta/> element:
|
||||
//
|
||||
// <meta property="fc:frame:button:4:target" content="https://example.com/thing/do-it" />
|
||||
func WriteFrameButton4Target(writer io.Writer, url string) {
|
||||
func WriteFrameButton4Target(writer io.Writer, target string) {
|
||||
const property string = MetaPropertyFrameButton4Target
|
||||
writeMetaPropertyContent(writer, property, url)
|
||||
writeMetaPropertyContent(writer, property, target)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue