Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinylib/msgp
/ declare
Method
declare
gen/spec.go:379–381 ·
view source on GitHub ↗
writes "var {{name}} {{typ}};"
(name string, typ string)
Source
from the content-addressed store, hash-verified
377
378
// writes "var {{name}} {{typ}};"
379
func
(p *printer) declare(name string, typ string) {
380
p.printf(
"\nvar %s %s"
, name, typ)
381
}
382
383
// does:
384
//
Callers
11
readKey
Method · 0.80
tuple
Method · 0.80
mapstruct
Method · 0.80
gArray
Method · 0.80
gSlice
Method · 0.80
gMap
Method · 0.80
structAsTuple
Method · 0.80
structAsMap
Method · 0.80
gMap
Method · 0.80
gSlice
Method · 0.80
gArray
Method · 0.80
Calls
1
printf
Method · 0.95
Tested by
no test coverage detected