initial commits

master
Charles Iliya Krempeaux 2024-02-15 06:07:06 -08:00
parent 0e905c15c9
commit 66ab70ee0b
4 changed files with 8 additions and 8 deletions

View File

@ -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)
}

View File

@ -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)
}

View File

@ -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)
}

View File

@ -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)
}