devenv

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDevEnv = errors.New("devenv error")

ErrDevEnv represents a generic error in the development environment

Functions

func GetEventData

func GetEventData() ([]byte, error)

GetEventData reads a mock event from the configured soure file and returns it as a []byte, err is not nil in case of an error

func InitArgs

func InitArgs()

InitArgs Inject any command line args into the environment

func IsActive

func IsActive() bool

IsActive returns true if executing in a dev environment or false otherwise

Types

This section is empty.

Jump to

Keyboard shortcuts

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