From 26e17cae3d030e9beafec35c44f5ba701a0a1a85 Mon Sep 17 00:00:00 2001 From: Charles Iliya Krempeaux Date: Thu, 15 Feb 2024 08:46:46 -0800 Subject: [PATCH] initial commits --- appendframebutton1action.go | 6 +++++- appendframebutton2action.go | 6 +++++- appendframebutton3action.go | 6 +++++- appendframebutton4action.go | 6 +++++- 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/appendframebutton1action.go b/appendframebutton1action.go index 7231f11..c0b084c 100644 --- a/appendframebutton1action.go +++ b/appendframebutton1action.go @@ -10,7 +10,7 @@ package frameproto // // var buttonAction string = "post" // -// p = frameproto.AppendFrameButton1Action(p, aspectRatio) +// p = frameproto.AppendFrameButton1Action(p, buttonAction) // // Would append this HTML element: // @@ -21,18 +21,22 @@ package frameproto // // Which in code would be used as: // +// // // p = frameproto.AppendFrameButton1Action(p, frameproto.ButtonActionLink) // // And: // +// // // p = frameproto.AppendFrameButton1Action(p, frameproto.ButtonActionMint) // // And: // +// // // str :+ frameproto.AppendFrameButton1Action(p, frameproto.ButtonActionPost) // // And: // +// // // p = frameproto.AppendFrameButton1Action(p, frameproto.ButtonActionPostRedirect) func AppendFrameButton1Action(p []byte, action string) []byte { const property string = MetaPropertyFrameButton1Action diff --git a/appendframebutton2action.go b/appendframebutton2action.go index 9a2bcb9..9a88d87 100644 --- a/appendframebutton2action.go +++ b/appendframebutton2action.go @@ -10,7 +10,7 @@ package frameproto // // var buttonAction string = "post" // -// p = frameproto.AppendFrameButton2Action(p, aspectRatio) +// p = frameproto.AppendFrameButton2Action(p, buttonAction) // // Would append this HTML element: // @@ -21,18 +21,22 @@ package frameproto // // Which in code would be used as: // +// // // p = frameproto.AppendFrameButton2Action(p, frameproto.ButtonActionLink) // // And: // +// // // p = frameproto.AppendFrameButton2Action(p, frameproto.ButtonActionMint) // // And: // +// // // str :+ frameproto.AppendFrameButton2Action(p, frameproto.ButtonActionPost) // // And: // +// // // p = frameproto.AppendFrameButton2Action(p, frameproto.ButtonActionPostRedirect) func AppendFrameButton2Action(p []byte, action string) []byte { const property string = MetaPropertyFrameButton2Action diff --git a/appendframebutton3action.go b/appendframebutton3action.go index d3fecc7..bf3d4e4 100644 --- a/appendframebutton3action.go +++ b/appendframebutton3action.go @@ -10,7 +10,7 @@ package frameproto // // var buttonAction string = "post" // -// p = frameproto.AppendFrameButton3Action(p, aspectRatio) +// p = frameproto.AppendFrameButton3Action(p, buttonAction) // // Would append this HTML element: // @@ -21,18 +21,22 @@ package frameproto // // Which in code would be used as: // +// // // p = frameproto.AppendFrameButton3Action(p, frameproto.ButtonActionLink) // // And: // +// // // p = frameproto.AppendFrameButton3Action(p, frameproto.ButtonActionMint) // // And: // +// // // str :+ frameproto.AppendFrameButton3Action(p, frameproto.ButtonActionPost) // // And: // +// // // p = frameproto.AppendFrameButton3Action(p, frameproto.ButtonActionPostRedirect) func AppendFrameButton3Action(p []byte, action string) []byte { const property string = MetaPropertyFrameButton3Action diff --git a/appendframebutton4action.go b/appendframebutton4action.go index 7402e1e..252d68f 100644 --- a/appendframebutton4action.go +++ b/appendframebutton4action.go @@ -10,7 +10,7 @@ package frameproto // // var buttonAction string = "post" // -// p = frameproto.AppendFrameButton4Action(p, aspectRatio) +// p = frameproto.AppendFrameButton4Action(p, buttonAction) // // Would append this HTML element: // @@ -21,18 +21,22 @@ package frameproto // // Which in code would be used as: // +// // // p = frameproto.AppendFrameButton4Action(p, frameproto.ButtonActionLink) // // And: // +// // // p = frameproto.AppendFrameButton4Action(p, frameproto.ButtonActionMint) // // And: // +// // // str :+ frameproto.AppendFrameButton4Action(p, frameproto.ButtonActionPost) // // And: // +// // // p = frameproto.AppendFrameButton4Action(p, frameproto.ButtonActionPostRedirect) func AppendFrameButton4Action(p []byte, action string) []byte { const property string = MetaPropertyFrameButton4Action