github.com/ars0915/glossika-exercise@v0.0.0-20240904180321-a5617a00d892/util/cTypes/types.go (about)

     1  package cTypes
     2  
     3  func String(v string) *string {
     4  	return &v
     5  }
     6  
     7  func Bool(v bool) *bool {
     8  	return &v
     9  }
    10  
    11  func Int(v int) *int {
    12  	return &v
    13  }
    14  
    15  func Uint(v uint) *uint {
    16  	return &v
    17  }