Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devspace-sh/devspace
/ NewStringValue
Function
NewStringValue
cmd/flags/flags.go:73–76 ·
view source on GitHub ↗
(val string, p *string)
Source
from the content-addressed store, hash-verified
71
type
StringValue string
72
73
func
NewStringValue(val string, p *string) *StringValue {
74
*p = val
75
return
(*StringValue)(p)
76
}
77
78
func
(s *StringValue) Set(val string) error {
79
*s = StringValue(val)
Callers
1
SetGlobalFlags
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected