mirror of
https://github.com/turbot/steampipe.git
synced 2025-12-26 15:00:08 -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
|
|
}
|