Fix to go type declarations.
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
package main
|
||||
|
||||
import "C"
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"gitlab.wow.st/gmp/nswrap/examples/foundation/ns"
|
||||
)
|
||||
|
||||
func main() {
|
||||
fmt.Println("Started")
|
||||
n1 := ns.StringWithUTF8String(ns.CharFromString("hi there"))
|
||||
c := n1.CapitalizedString()
|
||||
gstring := c.UTF8String().String()
|
||||
fmt.Println(gstring)
|
||||
n2 := ns.StringWithUTF8String(ns.CharFromString("ok bye"))
|
||||
n3 := ns.StringWithUTF8String(ns.CharFromString("one two three"))
|
||||
a := ns.ArrayWithObjects(n1)
|
||||
fmt.Println("ok")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user