From 2f4ead473108814d71a0118d5803235f599f58e0 Mon Sep 17 00:00:00 2001 From: khjde1207 Date: Mon, 27 Mar 2017 10:38:59 +0900 Subject: [PATCH] Update users.go --- session/users.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/session/users.go b/session/users.go index 1add20a..3656478 100644 --- a/session/users.go +++ b/session/users.go @@ -95,7 +95,9 @@ func PreferenceHandler(w http.ResponseWriter, r *http.Request) { FontFamily string FontSize string GoFmt string - GoBuildArgs string + GoBuildArgsforLinux string + GoBuildArgsforWindows string + GoBuildArgsforDarwin string Keymap string Workspace string Username string @@ -120,7 +122,9 @@ func PreferenceHandler(w http.ResponseWriter, r *http.Request) { user.FontFamily = args.FontFamily user.FontSize = args.FontSize user.GoFormat = args.GoFmt - user.GoBuildArgs = args.GoBuildArgs + user.GoBuildArgsforLinux = args.GoBuildArgsforLinux + user.GoBuildArgsforWindows = args.GoBuildArgsforWindows + user.GoBuildArgsforDarwin = args.GoBuildArgsforDarwin user.Keymap = args.Keymap // XXX: disallow change workspace at present // user.Workspace = args.Workspace