You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
packer/vendor/github.com/hetznercloud/hcloud-go/hcloud/helper.go

11 lines
285 B

package hcloud
// String returns a pointer to the passed string s.
func String(s string) *string { return &s }
// Int returns a pointer to the passed integer i.
func Int(i int) *int { return &i }
// Bool returns a pointer to the passed bool b.
func Bool(b bool) *bool { return &b }