Documentation ¶ Index ¶ type Context func NewContext() *Context func (c *Context) AddArgs(args ...interface{}) func (c *Context) Args() []interface{} func (c *Context) Depth(n int) int func (c *Context) Indent() string func (c *Context) String() string func (c *Context) Write(s string) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Context ¶ type Context struct { // contains filtered or unexported fields } Context is a type that handles the state related to how a query is built; for example, controlling the parameters used for the dialect of SQL being used. func NewContext ¶ func NewContext() *Context NewContext returns a new Context instance. func (*Context) AddArgs ¶ func (c *Context) AddArgs(args ...interface{}) AddArgs ... func (*Context) Args ¶ func (c *Context) Args() []interface{} Args ... func (*Context) Depth ¶ func (c *Context) Depth(n int) int Depth .. func (*Context) Indent ¶ func (c *Context) Indent() string Indent ... func (*Context) String ¶ func (c *Context) String() string String ... func (*Context) Write ¶ func (c *Context) Write(s string) Write ... Source Files ¶ View all Source files writer.go Click to show internal directories. Click to hide internal directories.