Add project open
This commit is contained in:
@ -3,16 +3,23 @@ package config
|
||||
import "time"
|
||||
|
||||
type Config struct {
|
||||
GitlabHost string `yaml:"gitlabHost" json:"gitlabHost"`
|
||||
GitlabToken string `yaml:"gitlabToken" json:"gitlabToken"`
|
||||
LogLevel string `yaml:"logLevel" json:"logLevel" enum:"info,warn,debug,error"`
|
||||
ProjectPath string `yaml:"projectPath" json:"projectPath"`
|
||||
Cache cacheConfig `yaml:"cache" json:"cache"`
|
||||
Editor editorConfig `yaml:"editor" json:"editor"`
|
||||
GitlabHost string `yaml:"gitlabHost" json:"gitlabHost"`
|
||||
GitlabToken string `yaml:"gitlabToken" json:"gitlabToken"`
|
||||
LogLevel string `yaml:"logLevel" json:"logLevel" enum:"info,warn,debug,error"`
|
||||
ProjectPath string `yaml:"projectPath" json:"projectPath"`
|
||||
Cache cacheConfig `yaml:"cache" json:"cache"`
|
||||
Dump struct {
|
||||
Full bool
|
||||
}
|
||||
}
|
||||
|
||||
type editorConfig struct {
|
||||
DisplayName string `yaml:"displanName" json:"displanName"`
|
||||
Binary string `yaml:"binary" json:"binary"`
|
||||
OpenFlags string `yaml:"openFlags" json:"openFlags"`
|
||||
}
|
||||
|
||||
type loadConfig struct {
|
||||
OwnerOnly bool `yaml:"ownerOnly" json:"ownerOnly"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user