mirror of
https://github.com/turbot/steampipe.git
synced 2026-01-24 08:01:31 -05:00
12 lines
230 B
Go
12 lines
230 B
Go
package utils
|
|
|
|
// ToStringPointer converts a string into its pointer
|
|
func ToStringPointer(s string) *string {
|
|
return &s
|
|
}
|
|
|
|
// ToIntegerPointer converts an integer into its pointer
|
|
func ToIntegerPointer(i int) *int {
|
|
return &i
|
|
}
|