12 lines
161 B
Go
12 lines
161 B
Go
package core
|
|
|
|
// Bool returns a pointer to a bool
|
|
func Bool(v bool) *bool {
|
|
return &v
|
|
}
|
|
|
|
// Int returns a pointer to an int
|
|
func Int(v int) *int {
|
|
return &v
|
|
}
|