├── static
├── css
│ ├── app.css
│ ├── index.css
│ └── admin.css
├── favicon.ico
├── images
│ ├── jd.png
│ ├── xd.png
│ ├── InfoQ.jpg
│ ├── bowen.png
│ ├── csdn.png
│ ├── imooc.png
│ ├── qiniu.jpg
│ ├── coding.png
│ ├── fequan.jpg
│ ├── gitcafe.png
│ ├── huawei.png
│ ├── oschina.png
│ ├── osforce.jpg
│ ├── pusoft.jpg
│ ├── pusoft1.jpg
│ ├── pusoft2.jpg
│ ├── tuling.jpg
│ ├── bearychat.png
│ ├── daocloud.jpg
│ ├── daocloud.png
│ ├── dreamlab.png
│ ├── gopherconf.png
│ ├── pusoft_map.jpg
│ ├── techparty.jpg
│ ├── segmentfault.png
│ ├── gophercomplex1.jpg
│ └── gophercomplex2.jpg
├── img
│ ├── liuqi.png
│ ├── lisibao.jpg
│ ├── maquanyi.jpg
│ ├── qleelulu.jpg
│ ├── xushiwei.jpg
│ ├── zhouyang.jpg
│ ├── chenmingda.png
│ └── gonghaohua.jpg
├── fonts
│ ├── FontAwesome.otf
│ ├── fontawesome-webfont.eot
│ ├── fontawesome-webfont.ttf
│ └── fontawesome-webfont.woff
└── js
│ ├── app.js
│ ├── polyfill
│ ├── rem.min.js
│ └── respond.min.js
│ ├── amazeui.widgets.helper.min.js
│ ├── amazeui.widgets.helper.js
│ └── handlebars.min.js
├── README.md
├── views
├── sponsors.tpl
├── base
│ ├── footer.html
│ └── header.html
├── register.tpl
├── venue.tpl
├── detail.tpl
├── speaker.tpl
└── index.tpl
├── .gitignore
├── conf
├── app.conf
├── locale_zh-CN.ini
├── locale_en-US.ini
└── docTree.json
├── main.go
├── controllers
├── default.go
├── docs.go
└── controller.go
└── models
├── product.go
├── http.go
├── press.go
└── github.go
/static/css/app.css:
--------------------------------------------------------------------------------
1 | /* Write your styles */
--------------------------------------------------------------------------------
/static/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/favicon.ico
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | Gopher China Website
2 | ===================
3 |
4 | Gopher China Website
5 |
6 |
--------------------------------------------------------------------------------
/static/images/jd.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/jd.png
--------------------------------------------------------------------------------
/static/images/xd.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/xd.png
--------------------------------------------------------------------------------
/static/img/liuqi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/img/liuqi.png
--------------------------------------------------------------------------------
/views/sponsors.tpl:
--------------------------------------------------------------------------------
1 | {{template "base/header.html" .}}
2 | {{template "base/footer.html" .}}
3 |
--------------------------------------------------------------------------------
/static/images/InfoQ.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/InfoQ.jpg
--------------------------------------------------------------------------------
/static/images/bowen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/bowen.png
--------------------------------------------------------------------------------
/static/images/csdn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/csdn.png
--------------------------------------------------------------------------------
/static/images/imooc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/imooc.png
--------------------------------------------------------------------------------
/static/images/qiniu.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/qiniu.jpg
--------------------------------------------------------------------------------
/static/img/lisibao.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/img/lisibao.jpg
--------------------------------------------------------------------------------
/static/img/maquanyi.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/img/maquanyi.jpg
--------------------------------------------------------------------------------
/static/img/qleelulu.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/img/qleelulu.jpg
--------------------------------------------------------------------------------
/static/img/xushiwei.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/img/xushiwei.jpg
--------------------------------------------------------------------------------
/static/img/zhouyang.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/img/zhouyang.jpg
--------------------------------------------------------------------------------
/static/images/coding.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/coding.png
--------------------------------------------------------------------------------
/static/images/fequan.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/fequan.jpg
--------------------------------------------------------------------------------
/static/images/gitcafe.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/gitcafe.png
--------------------------------------------------------------------------------
/static/images/huawei.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/huawei.png
--------------------------------------------------------------------------------
/static/images/oschina.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/oschina.png
--------------------------------------------------------------------------------
/static/images/osforce.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/osforce.jpg
--------------------------------------------------------------------------------
/static/images/pusoft.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/pusoft.jpg
--------------------------------------------------------------------------------
/static/images/pusoft1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/pusoft1.jpg
--------------------------------------------------------------------------------
/static/images/pusoft2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/pusoft2.jpg
--------------------------------------------------------------------------------
/static/images/tuling.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/tuling.jpg
--------------------------------------------------------------------------------
/static/img/chenmingda.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/img/chenmingda.png
--------------------------------------------------------------------------------
/static/img/gonghaohua.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/img/gonghaohua.jpg
--------------------------------------------------------------------------------
/static/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/static/images/bearychat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/bearychat.png
--------------------------------------------------------------------------------
/static/images/daocloud.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/daocloud.jpg
--------------------------------------------------------------------------------
/static/images/daocloud.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/daocloud.png
--------------------------------------------------------------------------------
/static/images/dreamlab.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/dreamlab.png
--------------------------------------------------------------------------------
/static/images/gopherconf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/gopherconf.png
--------------------------------------------------------------------------------
/static/images/pusoft_map.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/pusoft_map.jpg
--------------------------------------------------------------------------------
/static/images/techparty.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/techparty.jpg
--------------------------------------------------------------------------------
/static/images/segmentfault.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/segmentfault.png
--------------------------------------------------------------------------------
/static/images/gophercomplex1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/gophercomplex1.jpg
--------------------------------------------------------------------------------
/static/images/gophercomplex2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/images/gophercomplex2.jpg
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.swp
2 | *~
3 | .DS_Store
4 | *.tmp
5 | *.tmp
6 | *.pprof
7 | *.pdf
8 |
9 | /docs
10 | /tests
11 | website
--------------------------------------------------------------------------------
/static/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/static/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/static/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gopherchina/website/master/static/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/conf/app.conf:
--------------------------------------------------------------------------------
1 | appname = website
2 | httpport = 8080
3 | runmode = dev
4 |
5 |
6 | [lang]
7 | types=en-US|zh-CN
8 | names=English|简体中文
9 |
--------------------------------------------------------------------------------
/conf/locale_zh-CN.ini:
--------------------------------------------------------------------------------
1 | zh-CN = 简体中文
2 | en-US = English
3 |
4 | home = 首页
5 | speaker = 分享嘉宾
6 | register = 注册报名
7 | venue = 会场相关
8 | venuemap = 会场信息
9 | travel = 参会路线
10 | accommodation = 食宿
11 | sponsor = 赞助商
12 | supporters = 合作媒体
13 |
--------------------------------------------------------------------------------
/conf/locale_en-US.ini:
--------------------------------------------------------------------------------
1 | zh-CN = 简体中文
2 | en-US = English
3 |
4 | home = Home
5 | speaker = Speaker
6 | register = Register
7 | venue = Venue
8 | venuemap = Venue Map
9 | travel = Router Navigation
10 | accommodation = Hotel & Food
11 | sponsor = Sponsor
12 | supporters = Supporters
13 |
--------------------------------------------------------------------------------
/static/js/app.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 | 'use strict';
3 |
4 | $(function() {
5 | var $fullText = $('.admin-fullText');
6 | $('#admin-fullscreen').on('click', function() {
7 | $.AMUI.fullscreen.toggle();
8 | });
9 |
10 | $(document).on($.AMUI.fullscreen.raw.fullscreenchange, function() {
11 | $.AMUI.fullscreen.isFullscreen ? $fullText.text('关闭全屏') : $fullText.text('开启全屏');
12 | });
13 | });
14 | })(jQuery);
15 |
--------------------------------------------------------------------------------
/main.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "github.com/gopherchina/website/controllers"
5 | "github.com/gopherchina/website/models"
6 |
7 | "github.com/astaxie/beego"
8 | "github.com/beego/i18n"
9 | )
10 |
11 | func main() {
12 |
13 | beego.Router("/", &controllers.MainController{})
14 | beego.Router("/:name", &controllers.MainController{})
15 | beego.Router("/:name/:id", &controllers.DocsController{})
16 | beego.InsertFilter("/images/:all", beego.BeforeRouter, controllers.DocsStatic)
17 | controllers.InitLocales()
18 | models.InitModels()
19 | beego.AddFuncMap("i18n", i18n.Tr)
20 | beego.Run()
21 | }
22 |
--------------------------------------------------------------------------------
/views/base/footer.html:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
13 |
14 |
15 |
16 |
17 |
18 |
31 |