Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CastToPrimitiveTypes ¶
CastToPrimitiveTypes casts the values of a map to its primitive type (e.g. time.Duration to float64) to prevent structpb invalid type(s) errors.
func NewCommand ¶
NewCommand returns a command with the given arguments and environment variables.
func SHA256SUM ¶
func SHA256SUM(filename string) (string, *gerr.GatewayDError)
SHA256SUM returns the sha256 checksum of a file. Ref: https://github.com/codingsince1985/checksum A little copying is better than a little dependency.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.