github.com/yandex/pandora@v0.5.32/lib/pointer/pointer.go (about)

     1  package pointer
     2  
     3  func ToString(s string) *string {
     4  	return &s
     5  }
     6  
     7  func ToBool(b bool) *bool {
     8  	return &b
     9  }
    10  
    11  func ToInt64(b int64) *int64 {
    12  	return &b
    13  }