gen

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(envs map[string]string, packageName string, forceType map[string]string, requiredEnv []string) (map[string][]byte, error)

Generate is generate Go file map from envs.

func GenerateFile

func GenerateFile(fileName string, packageName string, forceType map[string]string, requiredEnv []string) error

GenerateFile is generate envgen Package from .env file.

func TypeSetter

func TypeSetter(m map[string]string) (map[string]model.KindWithSliceAndRequired, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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