utils

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEnv

func CreateEnv(envPath string) error

func FillLicense added in v0.5.0

func FillLicense(c *github.Client, ctx context.Context, l string) (string, error)

Replace [year] and [fullname] in the License with actual values

func GetEnvLoc added in v0.3.0

func GetEnvLoc() (string, error)

func ReadEnv

func ReadEnv(envPath string) ([]string, error)

func ReadInput

func ReadInput(prompt string) (string, error)

func TimeInDays added in v0.4.0

func TimeInDays(t time.Duration) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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