Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ajitpratap0/GoSQLX
/ decreaseIndent
Method
decreaseIndent
cmd/gosqlx/cmd/sql_formatter.go:1120–1124 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1118
}
1119
1120
func
(f *SQLFormatter) decreaseIndent() {
1121
if
f.newlineLevel > 0 {
1122
f.newlineLevel--
1123
}
1124
}
1125
1126
func
(f *SQLFormatter) currentIndent() string {
1127
if
f.compact {
Callers
8
formatSelect
Method · 0.95
formatCreateTable
Method · 0.95
formatAlterTable
Method · 0.95
formatAlterStatement
Method · 0.95
formatWithClause
Method · 0.95
formatCreateView
Method · 0.95
formatCreateMaterializedView
Method · 0.95
formatMergeWhenClause
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected