mirror of
https://github.com/beego/bee.git
synced 2025-06-12 10:00:41 +00:00
cleanup
This commit is contained in:
@ -17,7 +17,6 @@ import (
|
||||
"encoding/json"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
|
||||
"path/filepath"
|
||||
|
||||
beeLogger "github.com/beego/bee/logger"
|
||||
@ -28,7 +27,6 @@ const confVer = 0
|
||||
|
||||
var Conf = struct {
|
||||
Version int
|
||||
Gopm gopm
|
||||
GoInstall bool `json:"go_install" yaml:"go_install"` // Indicates whether execute "go install" before "go build".
|
||||
DirStruct dirStruct `json:"dir_structure" yaml:"dir_structure"`
|
||||
CmdArgs []string `json:"cmd_args" yaml:"cmd_args"`
|
||||
@ -56,12 +54,6 @@ var Conf = struct {
|
||||
Scripts: map[string]string{},
|
||||
}
|
||||
|
||||
// gopm support
|
||||
type gopm struct {
|
||||
Enable bool
|
||||
Install bool
|
||||
}
|
||||
|
||||
// dirStruct describes the application's directory structure
|
||||
type dirStruct struct {
|
||||
WatchAll bool `json:"watch_all" yaml:"watch_all"`
|
||||
|
Reference in New Issue
Block a user