Clojure locals are not boxes, and Glojure has no & operator. When a Go API wants a pointer, go/new allocates a zero value and returns a pointer to it. go/deref reads through the pointer.
(defbox(go/newgo/int))(println(go/derefbox))
Some constructors hand back a pointer because the Go API updates it later. flag.String does that. Inside glj, build a FlagSet instead of using the global parser, or the parser will also see glj's own arguments.
(defflags(flag.NewFlagSet"example"flag.ContinueOnError))(defname(.Stringflags"name""world""who to greet"))(println(string?name))(println(go/derefname))
For Clojure state, prefer an atom. Pointers are for talking to Go.
go/new of go/int is the zero integer. The flag still holds its default.