Documentation
¶
Index ¶
- func AwsAkasFromArn(arn string) []string
- func GetCallerIdentityData() (*sts.GetCallerIdentityOutput, error)
- func NilIfDash(field *string) *string
- func StringToFloat(s string) (float64, error)
- func StringToMap(jsonStr string) (map[string]string, error)
- func StringToTimestamp(dateStr string, format string) (time.Time, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AwsAkasFromArn ¶
func GetCallerIdentityData ¶ added in v0.3.0
func GetCallerIdentityData() (*sts.GetCallerIdentityOutput, error)
Caller identity data includes: Account ID Arn UserId
func StringToFloat ¶
StringToFloat converts a string to a float64 and handles errors
func StringToMap ¶
StringToMap safely converts a JSON string to map[string]string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.