utilities

package
v0.0.0-...-129c87e Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package utilities provides common helper functions for the various lambda functions in the bgurt project.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvOrDefault

func GetEnvOrDefault(key, defaultValue string) (result string)

func GetEnvOrDie

func GetEnvOrDie(key string) (value string)

func Picksome

func Picksome(original []microbadge.Microbadge, n int) (picked []microbadge.Microbadge)

TODO: make this "generic"

Types

type Notification

type Notification struct {
	Message string `json:"message"`
}

TODO: better name for struct

Jump to

Keyboard shortcuts

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