environ

package
v0.0.0-...-e5954dd Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ServiceHostDomain string
)

Functions

func GetGoogleOAuthClientID

func GetGoogleOAuthClientID() string

func GetGoogleOAuthClientSecret

func GetGoogleOAuthClientSecret() string

func GetLineWorksAppID

func GetLineWorksAppID() string

func GetLineWorksConsumerKey

func GetLineWorksConsumerKey() string

func GetProjectID

func GetProjectID() string

GetProjectID - プロジェクトIDを取得する

func GetServiceName

func GetServiceName() string

GetServiceName - サービス名を取得する

func GetServiceVersion

func GetServiceVersion() string

GetServiceVersion - バージョンを取得する

func InJST

func InJST(t time.Time) time.Time

InJST - 引数をJST変換したTimeを返す

func InUTC

func InUTC(t time.Time) time.Time

InUTC - 引数をUTC変換したTimeを返す

func IsAdmin

func IsAdmin(account string) bool

IsAdmin - バージョンを取得する

func IsAllowDomain

func IsAllowDomain(domain string) bool

IsAllowDomain - バージョンを取得する

func IsDev

func IsDev() bool

IsDev - dev環境か判断する

func IsLocal

func IsLocal() bool

IsLocal - ローカル環境か判断する

func IsProd

func IsProd() bool

IsProd - prod環境か判断する

func IsQA

func IsQA() bool

IsQA - qa環境か判断する

func IsStaging

func IsStaging() bool

IsStaging - stg環境か判断する

func LocationJST

func LocationJST() *time.Location

LocationJST - JSTのLocationを返す

func LocationUTC

func LocationUTC() *time.Location

LocationUTC - UTCのLocationを返す

func NowJST

func NowJST() time.Time

NowJST - JST変換した現在日時を返す

func NowUTC

func NowUTC() time.Time

NowUTC - UTC変換した現在日時を返す

Types

This section is empty.

Jump to

Keyboard shortcuts

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