Versions in this module Expand all Collapse all v0 v0.5.0 Mar 4, 2024 Changes in this version + type Any struct + func (a Any) Code() gen.Code + func (a Any) Nullable() Type + func (a Any) String() string + type Array struct + Element Type + func (a Array) Code() gen.Code + func (a Array) Nullable() Type + func (a Array) String() string + type Bool struct + Pointer bool + func (b Bool) Code() gen.Code + func (b Bool) Nullable() Type + func (b Bool) String() string + type Context struct + func From(s string, allCaps ...string) *Context + func FromBytes(data []byte, allCaps ...string) *Context + func (c *Context) Declare(name string) (*gen.Statement, error) + func (c *Context) Type() (Type, error) + type Field struct + Key string + Name string + OmitEmpty bool + Type Type + func (f Field) Code() gen.Code + func (f Field) Options() string + func (f Field) String() string + type Float struct + Pointer bool + func (f Float) Code() gen.Code + func (f Float) Nullable() Type + func (f Float) String() string + type Int struct + Pointer bool + func (i Int) Code() gen.Code + func (i Int) Nullable() Type + func (i Int) String() string + type Map struct + Key Type + Value Type + func (m Map) Code() gen.Code + func (m Map) Nullable() Type + func (m Map) String() string + type String struct + Pointer bool + func (s String) Code() gen.Code + func (s String) Nullable() Type + func (s String) String() string + type Struct struct + Fields []*Field + Pointer bool + func (s Struct) Code() gen.Code + func (s Struct) Naming() + func (s Struct) Nullable() Type + func (s Struct) String() string + type Type interface + Code func() gen.Code + Nullable func() Type + type TypeDecl struct + Name string + Type Type + func (t TypeDecl) String() string