diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-13 04:27:29 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-13 04:27:29 -0400 |
commit | ea74be2f2eb2356666c39448019956f9fe1c1f99 (patch) | |
tree | bb195120174ca3fd9b782e831d6c498ab7489816 /routers/dashboard.go | |
parent | d26a333dfbd47e9b6f92fad7fcd779ad72070f8a (diff) |
go get
Diffstat (limited to 'routers/dashboard.go')
-rw-r--r-- | routers/dashboard.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/routers/dashboard.go b/routers/dashboard.go index 2c81cf23..12635412 100644 --- a/routers/dashboard.go +++ b/routers/dashboard.go @@ -11,6 +11,11 @@ import ( ) func Home(ctx *middleware.Context) { + if ctx.Query("go-get") == "1" { + ctx.Write(base.GetGoGetMetaList()) + return + } + if ctx.IsSigned { user.Dashboard(ctx) return |