This commit is contained in:
Liang Ding 2014-12-05 14:09:53 +08:00
parent 34845de308
commit 6b2e91540c
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ type User struct {
LatestSessionContent *LatestSessionContent LatestSessionContent *LatestSessionContent
} }
// NewUser creates a user with the specified username, password, 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",