This commit is contained in:
parent
6b2e91540c
commit
5846709c25
|
@ -65,8 +65,7 @@ type User struct {
|
||||||
// NewUser creates a user with the specified username, password and workspace.
|
// NewUser creates a user with the specified username, password and workspace.
|
||||||
func NewUser(username, password, workspace string) *User {
|
func NewUser(username, password, workspace string) *User {
|
||||||
return &User{Name: username, Password: password, Workspace: workspace,
|
return &User{Name: username, Password: password, Workspace: workspace,
|
||||||
Locale: Wide.Locale, GoFormat: "gofmt", FontFamily: "Helvetica", FontSize: "13px",
|
Locale: Wide.Locale, GoFormat: "gofmt", FontFamily: "Helvetica", FontSize: "13px", Theme: "default",
|
||||||
Theme: "default",
|
|
||||||
Editor: &Editor{FontFamily: "Consolas, 'Courier New', monospace", FontSize: "inherit", Theme: "wide",
|
Editor: &Editor{FontFamily: "Consolas, 'Courier New', monospace", FontSize: "inherit", Theme: "wide",
|
||||||
TabSize: "4"}}
|
TabSize: "4"}}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue