Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/campoy/jsonenums
/ functions
Functions
20 in github.com/campoy/jsonenums
⨍
Functions
20
◇
Types & classes
5
↓ 20 callers
Method
String
()
example/shirtsize.go:51
↓ 3 callers
Function
must
(t *testing.T, err error)
parser/parser_test.go:24
↓ 2 callers
Method
ValuesOfType
generate produces the String method for the named type.
parser/parser.go:63
↓ 1 callers
Function
ParsePackage
ParsePackage parses the package in the given directory and returns it.
parser/parser.go:40
↓ 1 callers
Function
createDir
(content string)
server/server.go:91
↓ 1 callers
Method
valuesOfTypeIn
(typeName string, decl *ast.GenDecl)
parser/parser.go:90
Method
MarshalJSON
MarshalJSON is generated so WeekDay satisfies json.Marshaler.
example/weekday_jsonenums.go:48
Method
MarshalJSON
MarshalJSON is generated so ShirtSize satisfies json.Marshaler.
example/shirtsize_jsonenums.go:45
Method
ServeHTTP
(w http.ResponseWriter, r *http.Request)
server/server.go:108
Function
TestParseFromMultipleGopath
(t *testing.T)
parser/parser_test.go:38
Method
UnmarshalJSON
UnmarshalJSON is generated so WeekDay satisfies json.Unmarshaler.
example/weekday_jsonenums.go:60
Method
UnmarshalJSON
UnmarshalJSON is generated so ShirtSize satisfies json.Unmarshaler.
example/shirtsize_jsonenums.go:57
Function
generateHandler
(w http.ResponseWriter, r *http.Request)
server/server.go:40
Function
homeHandler
(w http.ResponseWriter, r *http.Request)
server/main.go:30
Function
init
()
example/weekday_jsonenums.go:32
Function
init
()
example/shirtsize_jsonenums.go:30
Function
init
()
server/server.go:36
Function
main
()
jsonenums.go:96
Function
main
()
example/shirtsize.go:72
Function
main
()
server/main.go:23