mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-06 23:32:47 +01:00
20 lines
210 B
Go
Executable File
20 lines
210 B
Go
Executable File
package pointer
|
|
|
|
import "time"
|
|
|
|
func String(v string) *string {
|
|
return &v
|
|
}
|
|
|
|
func Int64(v int64) *int64 {
|
|
return &v
|
|
}
|
|
|
|
func Bool(v bool) *bool {
|
|
return &v
|
|
}
|
|
|
|
func Time(v time.Time) *time.Time {
|
|
return &v
|
|
}
|