Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/abice/go-enum
/ Ptr
Method
Ptr
example/sql_enum.go:68–70 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
66
}
67
68
func
(x ProjectStatus) Ptr() *ProjectStatus {
69
return
&x
70
}
71
72
// MarshalText implements the text marshaller method.
73
func
(x ProjectStatus) MarshalText() ([]byte, error) {
Callers
1
getProjectStatus
Function · 0.95
Calls
no outgoing calls
Tested by
1
getProjectStatus
Function · 0.76