Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlc-dev/sqlc
/ LowerTitle
Function
LowerTitle
internal/codegen/sdk/utils.go:8–16 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
6
)
7
8
func
LowerTitle(s string) string {
9
if
s ==
""
{
10
return
s
11
}
12
13
a := []rune(s)
14
a[0] = unicode.ToLower(a[0])
15
return
string(a)
16
}
17
18
func
Title(s string) string {
19
return
strings.Title(s)
Callers
2
buildQueries
Function · 0.92
TestLowerTitle
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestLowerTitle
Function · 0.68