INNER CODE UNIT · Go

SetConfigData

OpenListTeam/OpenList-Mobile · openlist-lib/openlistlib/settings.go:10

func SetConfigData(path string) {
	flags.DataDir = path
}

func SetConfigLogStd(b bool) {
	flags.LogStd = b
}

func SetConfigDebug(b bool) {
	flags.Debug = b
}

func SetConfigNoPrefix(b bool) {
	flags.NoPrefix = b
}

func SetAdminPassword(pwd string) {
	admin, err := op.GetAdmin()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…