utils

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvLoadError

func EnvLoadError(env string, envName string)

func GetFileType

func GetFileType(filename string) string

GetFileType returns the content type of the file.

Types

type GithubInfo added in v0.3.0

type GithubInfo struct {
	PrNumber  int
	RepoOwner string
	Branch    string
	RepoName  string
}

func GetPRInfo added in v0.3.0

func GetPRInfo() GithubInfo

Jump to

Keyboard shortcuts

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