util

package
v0.0.0-...-29c154c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(slice []string, val string) (int, bool)

Contains a string in a slice

func GetEnvOrDefault

func GetEnvOrDefault(key string, defaultValue string) string

GetEnvOrDefault Get an environment variable or return the default value

func NewAWSSession

func NewAWSSession() (sess *session.Session)

NewAWSSession returns a convenient session to connect to the services

func NewAWSSessionWithConfig

func NewAWSSessionWithConfig(config aws.Config) *session.Session

NewAWSSessionWithConfig returns a sessions with the given config

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL