Versions in this module Expand all Collapse all v1 v1.0.0 Sep 19, 2023 Changes in this version + const SqlTagDefault + type SqlBuilder struct + func NewSqlBuilder(opts ...SqlBuilderOption) *SqlBuilder + func (s *SqlBuilder) MappingTables(m map[string]string) + func (s SqlBuilder) AddTable(obj interface{}) string + func (s SqlBuilder) GetTableName(t interface{}) (string, string) + func (s SqlBuilder) RemoveTable(tb interface{}) string + type SqlBuilderOption interface + func WithCommentGenerate() SqlBuilderOption + func WithDialect(dialect sql_templates.SqlDialect) SqlBuilderOption + func WithMysql() SqlBuilderOption + func WithPluralTableName() SqlBuilderOption + func WithPostgresql() SqlBuilderOption + func WithSqlLowercase() SqlBuilderOption + func WithSqlTag(sqlTag string) SqlBuilderOption + func WithSqlUppercase() SqlBuilderOption + func WithSqlite() SqlBuilderOption + func WithSqlserver() SqlBuilderOption