package runtimeimport ()// StringP returns a pointer to a string whose pointee is same as the given string value.func ( string) (*string, error) {returnproto.String(), nil}// BoolP parses the given string representation of a boolean value,// and returns a pointer to a bool whose value is same as the parsed value.func ( string) (*bool, error) { , := Bool()if != nil {returnnil, }returnproto.Bool(), nil}// Float64P parses the given string representation of a floating point number,// and returns a pointer to a float64 whose value is same as the parsed number.func ( string) (*float64, error) { , := Float64()if != nil {returnnil, }returnproto.Float64(), nil}// Float32P parses the given string representation of a floating point number,// and returns a pointer to a float32 whose value is same as the parsed number.func ( string) (*float32, error) { , := Float32()if != nil {returnnil, }returnproto.Float32(), nil}// Int64P parses the given string representation of an integer// and returns a pointer to an int64 whose value is same as the parsed integer.func ( string) (*int64, error) { , := Int64()if != nil {returnnil, }returnproto.Int64(), nil}// Int32P parses the given string representation of an integer// and returns a pointer to an int32 whose value is same as the parsed integer.func ( string) (*int32, error) { , := Int32()if != nil {returnnil, }returnproto.Int32(), }// Uint64P parses the given string representation of an integer// and returns a pointer to a uint64 whose value is same as the parsed integer.func ( string) (*uint64, error) { , := Uint64()if != nil {returnnil, }returnproto.Uint64(), }// Uint32P parses the given string representation of an integer// and returns a pointer to a uint32 whose value is same as the parsed integer.func ( string) (*uint32, error) { , := Uint32()if != nil {returnnil, }returnproto.Uint32(), }
The pages are generated with Goldsv0.8.2. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds.