mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-03 06:43:53 +00:00
godep restore pushd $GOPATH/src/github.com/appc/spec git co master popd go get go4.org/errorutil rm -rf Godeps godep save ./... git add vendor git add -f $(git ls-files --other vendor/) git co -- Godeps/LICENSES Godeps/.license_file_state Godeps/OWNERS
18 lines
198 B
Go
18 lines
198 B
Go
package callback
|
|
|
|
type Name struct {
|
|
name string
|
|
}
|
|
|
|
func NewName() *Name {
|
|
return &Name{}
|
|
}
|
|
|
|
func (cb *Name) Get() string {
|
|
return cb.name
|
|
}
|
|
|
|
func (cb *Name) Set(name string) {
|
|
cb.name = name
|
|
}
|