Skip to content

chaodoing/frame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iris+gorm框架整合

要定义的常量

package main

import (
	`os`
)

func main() {
	_ = os.Setenv("APP", "应用名称")
	_ = os.Setenv("DIR", "应用运行目录")
	_ = os.Setenv("ENV", "运行环境")
	_ = os.Setenv("VERSION", "版本信息")
	_ = os.Setenv("CONFIG", "配置文件")
	_ = os.Setenv("BIN", "运行命令 [${DIR}/bin/${APP} [web] --config=${CONFIG}]")
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published