Update users.go
This commit is contained in:
parent
699ba5e0c5
commit
2f4ead4731
|
@ -95,7 +95,9 @@ func PreferenceHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
FontFamily string
|
FontFamily string
|
||||||
FontSize string
|
FontSize string
|
||||||
GoFmt string
|
GoFmt string
|
||||||
GoBuildArgs string
|
GoBuildArgsforLinux string
|
||||||
|
GoBuildArgsforWindows string
|
||||||
|
GoBuildArgsforDarwin string
|
||||||
Keymap string
|
Keymap string
|
||||||
Workspace string
|
Workspace string
|
||||||
Username string
|
Username string
|
||||||
|
@ -120,7 +122,9 @@ func PreferenceHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
user.FontFamily = args.FontFamily
|
user.FontFamily = args.FontFamily
|
||||||
user.FontSize = args.FontSize
|
user.FontSize = args.FontSize
|
||||||
user.GoFormat = args.GoFmt
|
user.GoFormat = args.GoFmt
|
||||||
user.GoBuildArgs = args.GoBuildArgs
|
user.GoBuildArgsforLinux = args.GoBuildArgsforLinux
|
||||||
|
user.GoBuildArgsforWindows = args.GoBuildArgsforWindows
|
||||||
|
user.GoBuildArgsforDarwin = args.GoBuildArgsforDarwin
|
||||||
user.Keymap = args.Keymap
|
user.Keymap = args.Keymap
|
||||||
// XXX: disallow change workspace at present
|
// XXX: disallow change workspace at present
|
||||||
// user.Workspace = args.Workspace
|
// user.Workspace = args.Workspace
|
||||||
|
|
Loading…
Reference in New Issue