Initial 2024-01-26

This commit is contained in:
root
2024-01-26 07:11:35 +12:00
commit d03c481b33
33 changed files with 4224 additions and 0 deletions

34
plug/CmpPlug1/CmpPlug1.go Normal file
View File

@@ -0,0 +1,34 @@
package main
import (
"fmt"
// "net/html"
)
type CmpPlug struct {
Log func(any, ...interface{})
}
var plg CmpPlug
func CmpPlug1Init(in int, f func(any, ...interface{}), ifc map[string]interface{} ) interface{} {
plg.Log = f
ifc["Ccc"] = "Ddd"
fmt.Printf("This is CmpPlug1: %d\n", in)
return ifc
}
func CmpPlug1Some() error {
plg.Log("This is CmpPlug1Some")
return nil
}
func main() {
fmt.Print(23)
}