├── static ├── js │ ├── ipad │ │ └── video_type.js │ └── images │ │ ├── ui-icons_222222_256x240.png │ │ ├── ui-icons_2e83ff_256x240.png │ │ ├── ui-icons_454545_256x240.png │ │ ├── ui-icons_888888_256x240.png │ │ ├── ui-icons_cd0a0a_256x240.png │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ └── ui-bg_highlight-soft_75_cccccc_1x100.png ├── file_upload │ ├── server │ │ ├── node │ │ │ └── public │ │ │ │ └── files │ │ │ │ └── .gitignore │ │ ├── gae-go │ │ │ ├── static │ │ │ │ ├── robots.txt │ │ │ │ └── favicon.ico │ │ │ └── app.yaml │ │ ├── php │ │ │ ├── files │ │ │ │ ├── .gitignore │ │ │ │ └── .htaccess │ │ │ └── index.php │ │ └── gae-python │ │ │ ├── static │ │ │ ├── robots.txt │ │ │ └── favicon.ico │ │ │ └── app.yaml │ ├── img │ │ ├── loading.gif │ │ └── progressbar.gif │ ├── css │ │ ├── style.css │ │ ├── jquery.fileupload-ui-noscript.css │ │ ├── demo-ie8.css │ │ ├── jquery.fileupload-noscript.css │ │ └── jquery.fileupload.css │ └── cors │ │ └── result.html ├── .DS_Store ├── hello.png ├── run_api.png ├── hello_web.png ├── docs │ ├── .DS_Store │ ├── bootstrap │ │ ├── .DS_Store │ │ ├── img │ │ │ ├── glyphicons-halflings.png │ │ │ └── glyphicons-halflings-white.png │ │ ├── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ │ └── js │ │ │ └── npm.js │ ├── images │ │ └── apimap │ │ │ ├── L1-left.png │ │ │ ├── L1-right.png │ │ │ ├── L1-center.png │ │ │ ├── L3-bottom.png │ │ │ ├── L3-center.png │ │ │ ├── L3-li-top.png │ │ │ ├── L3-ul-top.png │ │ │ ├── vertical-line.png │ │ │ └── white-highlight.png │ └── api_test_docs.html ├── image │ └── user_icon.png ├── jquery-ui-1.10.4 │ ├── development-bundle │ │ ├── demos │ │ │ ├── tabs │ │ │ │ ├── ajax │ │ │ │ │ └── content4-broken.php │ │ │ │ └── index.html │ │ │ ├── tooltip │ │ │ │ ├── ajax │ │ │ │ │ ├── content1.html │ │ │ │ │ └── content2.html │ │ │ │ ├── images │ │ │ │ │ ├── st-stephens.jpg │ │ │ │ │ └── tower-bridge.jpg │ │ │ │ └── index.html │ │ │ ├── images │ │ │ │ ├── calendar.gif │ │ │ │ ├── pbar-ani.gif │ │ │ │ ├── demo-config-on.gif │ │ │ │ ├── icon-docs-info.gif │ │ │ │ ├── demo-spindown-open.gif │ │ │ │ ├── demo-config-on-tile.gif │ │ │ │ └── demo-spindown-closed.gif │ │ │ ├── position │ │ │ │ ├── images │ │ │ │ │ ├── earth.jpg │ │ │ │ │ ├── flight.jpg │ │ │ │ │ └── rocket.jpg │ │ │ │ └── index.html │ │ │ ├── datepicker │ │ │ │ └── images │ │ │ │ │ └── calendar.gif │ │ │ ├── progressbar │ │ │ │ ├── images │ │ │ │ │ └── pbar-ani.gif │ │ │ │ ├── index.html │ │ │ │ └── default.html │ │ │ ├── droppable │ │ │ │ ├── images │ │ │ │ │ ├── high_tatras.jpg │ │ │ │ │ ├── high_tatras2.jpg │ │ │ │ │ ├── high_tatras3.jpg │ │ │ │ │ ├── high_tatras4.jpg │ │ │ │ │ ├── high_tatras_min.jpg │ │ │ │ │ ├── high_tatras2_min.jpg │ │ │ │ │ ├── high_tatras3_min.jpg │ │ │ │ │ └── high_tatras4_min.jpg │ │ │ │ └── index.html │ │ │ ├── autocomplete │ │ │ │ └── images │ │ │ │ │ ├── jquery_32x32.png │ │ │ │ │ ├── jqueryui_32x32.png │ │ │ │ │ ├── sizzlejs_32x32.png │ │ │ │ │ ├── transparent_1x1.png │ │ │ │ │ └── ui-anim_basic_16x16.gif │ │ │ ├── hide │ │ │ │ └── index.html │ │ │ ├── show │ │ │ │ └── index.html │ │ │ ├── widget │ │ │ │ └── index.html │ │ │ ├── addClass │ │ │ │ └── index.html │ │ │ ├── animate │ │ │ │ └── index.html │ │ │ ├── toggle │ │ │ │ └── index.html │ │ │ ├── removeClass │ │ │ │ └── index.html │ │ │ ├── switchClass │ │ │ │ └── index.html │ │ │ ├── toggleClass │ │ │ │ └── index.html │ │ │ ├── menu │ │ │ │ └── index.html │ │ │ ├── effect │ │ │ │ └── index.html │ │ │ ├── demos.css │ │ │ ├── selectable │ │ │ │ └── index.html │ │ │ ├── spinner │ │ │ │ └── index.html │ │ │ ├── button │ │ │ │ └── index.html │ │ │ ├── dialog │ │ │ │ └── index.html │ │ │ ├── accordion │ │ │ │ └── index.html │ │ │ └── sortable │ │ │ │ └── index.html │ │ ├── themes │ │ │ ├── base │ │ │ │ ├── images │ │ │ │ │ ├── animated-overlay.gif │ │ │ │ │ ├── ui-icons_222222_256x240.png │ │ │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ │ │ ├── ui-icons_454545_256x240.png │ │ │ │ │ ├── ui-icons_888888_256x240.png │ │ │ │ │ ├── ui-icons_cd0a0a_256x240.png │ │ │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ │ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ │ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ │ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ │ │ │ └── ui-bg_highlight-soft_75_cccccc_1x100.png │ │ │ │ ├── minified │ │ │ │ │ ├── images │ │ │ │ │ │ ├── animated-overlay.gif │ │ │ │ │ │ ├── ui-icons_222222_256x240.png │ │ │ │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ │ │ │ ├── ui-icons_454545_256x240.png │ │ │ │ │ │ ├── ui-icons_888888_256x240.png │ │ │ │ │ │ ├── ui-icons_cd0a0a_256x240.png │ │ │ │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ │ │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ │ │ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ │ │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ │ │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ │ │ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ │ │ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ │ │ │ │ └── ui-bg_highlight-soft_75_cccccc_1x100.png │ │ │ │ │ ├── jquery.ui.theme.min.css │ │ │ │ │ ├── jquery.ui.autocomplete.min.css │ │ │ │ │ ├── jquery.ui.selectable.min.css │ │ │ │ │ ├── jquery.ui.tooltip.min.css │ │ │ │ │ ├── jquery.ui.progressbar.min.css │ │ │ │ │ ├── jquery.ui.accordion.min.css │ │ │ │ │ └── jquery.ui.spinner.min.css │ │ │ │ ├── jquery.ui.selectable.css │ │ │ │ ├── jquery.ui.all.css │ │ │ │ ├── jquery.ui.autocomplete.css │ │ │ │ ├── jquery.ui.tooltip.css │ │ │ │ └── jquery.ui.progressbar.css │ │ │ └── ui-lightness │ │ │ │ ├── images │ │ │ │ ├── animated-overlay.gif │ │ │ │ ├── ui-icons_222222_256x240.png │ │ │ │ ├── ui-icons_228ef1_256x240.png │ │ │ │ ├── ui-icons_ef8c08_256x240.png │ │ │ │ ├── ui-icons_ffd27a_256x240.png │ │ │ │ ├── ui-icons_ffffff_256x240.png │ │ │ │ ├── ui-bg_flat_10_000000_40x100.png │ │ │ │ ├── ui-bg_glass_100_f6f6f6_1x400.png │ │ │ │ ├── ui-bg_glass_100_fdf5ce_1x400.png │ │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ │ ├── ui-bg_gloss-wave_35_f6a828_500x100.png │ │ │ │ ├── ui-bg_highlight-soft_75_ffe45c_1x100.png │ │ │ │ ├── ui-bg_diagonals-thick_18_b81900_40x40.png │ │ │ │ ├── ui-bg_diagonals-thick_20_666666_40x40.png │ │ │ │ └── ui-bg_highlight-soft_100_eeeeee_1x100.png │ │ │ │ ├── minified │ │ │ │ ├── images │ │ │ │ │ ├── animated-overlay.gif │ │ │ │ │ ├── ui-icons_222222_256x240.png │ │ │ │ │ ├── ui-icons_228ef1_256x240.png │ │ │ │ │ ├── ui-icons_ef8c08_256x240.png │ │ │ │ │ ├── ui-icons_ffd27a_256x240.png │ │ │ │ │ ├── ui-icons_ffffff_256x240.png │ │ │ │ │ ├── ui-bg_flat_10_000000_40x100.png │ │ │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ │ │ ├── ui-bg_glass_100_f6f6f6_1x400.png │ │ │ │ │ ├── ui-bg_glass_100_fdf5ce_1x400.png │ │ │ │ │ ├── ui-bg_gloss-wave_35_f6a828_500x100.png │ │ │ │ │ ├── ui-bg_diagonals-thick_18_b81900_40x40.png │ │ │ │ │ ├── ui-bg_diagonals-thick_20_666666_40x40.png │ │ │ │ │ ├── ui-bg_highlight-soft_100_eeeeee_1x100.png │ │ │ │ │ └── ui-bg_highlight-soft_75_ffe45c_1x100.png │ │ │ │ ├── jquery.ui.autocomplete.min.css │ │ │ │ ├── jquery.ui.selectable.min.css │ │ │ │ ├── jquery.ui.tooltip.min.css │ │ │ │ ├── jquery.ui.progressbar.min.css │ │ │ │ ├── jquery.ui.accordion.min.css │ │ │ │ └── jquery.ui.spinner.min.css │ │ │ │ ├── jquery.ui.selectable.css │ │ │ │ ├── jquery.ui.all.css │ │ │ │ ├── jquery.ui.autocomplete.css │ │ │ │ ├── jquery.ui.tooltip.css │ │ │ │ └── jquery.ui.progressbar.css │ │ └── ui │ │ │ ├── minified │ │ │ ├── jquery.ui.effect-fade.min.js │ │ │ ├── jquery.ui.effect-highlight.min.js │ │ │ ├── jquery.ui.effect-pulsate.min.js │ │ │ ├── jquery.ui.effect-transfer.min.js │ │ │ ├── i18n │ │ │ │ ├── jquery.ui.datepicker-ko.min.js │ │ │ │ ├── jquery.ui.datepicker-ja.min.js │ │ │ │ ├── jquery.ui.datepicker-zh-CN.min.js │ │ │ │ ├── jquery.ui.datepicker-zh-HK.min.js │ │ │ │ ├── jquery.ui.datepicker-zh-TW.min.js │ │ │ │ ├── jquery.ui.datepicker-fa.min.js │ │ │ │ ├── jquery.ui.datepicker-he.min.js │ │ │ │ ├── jquery.ui.datepicker-tr.min.js │ │ │ │ ├── jquery.ui.datepicker-sr.min.js │ │ │ │ ├── jquery.ui.datepicker-tj.min.js │ │ │ │ ├── jquery.ui.datepicker-az.min.js │ │ │ │ ├── jquery.ui.datepicker-bs.min.js │ │ │ │ ├── jquery.ui.datepicker-ca.min.js │ │ │ │ ├── jquery.ui.datepicker-cs.min.js │ │ │ │ ├── jquery.ui.datepicker-es.min.js │ │ │ │ ├── jquery.ui.datepicker-nl.min.js │ │ │ │ ├── jquery.ui.datepicker-sq.min.js │ │ │ │ ├── jquery.ui.datepicker-da.min.js │ │ │ │ ├── jquery.ui.datepicker-gl.min.js │ │ │ │ ├── jquery.ui.datepicker-hi.min.js │ │ │ │ ├── jquery.ui.datepicker-id.min.js │ │ │ │ ├── jquery.ui.datepicker-km.min.js │ │ │ │ ├── jquery.ui.datepicker-ky.min.js │ │ │ │ ├── jquery.ui.datepicker-mk.min.js │ │ │ │ ├── jquery.ui.datepicker-ms.min.js │ │ │ │ ├── jquery.ui.datepicker-nb.min.js │ │ │ │ ├── jquery.ui.datepicker-nn.min.js │ │ │ │ ├── jquery.ui.datepicker-no.min.js │ │ │ │ ├── jquery.ui.datepicker-sv.min.js │ │ │ │ ├── jquery.ui.datepicker-de.min.js │ │ │ │ ├── jquery.ui.datepicker-eo.min.js │ │ │ │ ├── jquery.ui.datepicker-hu.min.js │ │ │ │ ├── jquery.ui.datepicker-kk.min.js │ │ │ │ ├── jquery.ui.datepicker-lb.min.js │ │ │ │ ├── jquery.ui.datepicker-ar.min.js │ │ │ │ └── jquery.ui.datepicker-en-AU.min.js │ │ │ ├── jquery.ui.effect-clip.min.js │ │ │ ├── jquery.ui.effect-slide.min.js │ │ │ └── jquery.ui.effect-drop.min.js │ │ │ └── jquery.ui.effect-fade.js │ └── css │ │ └── ui-lightness │ │ └── images │ │ ├── animated-overlay.gif │ │ ├── ui-icons_222222_256x240.png │ │ ├── ui-icons_228ef1_256x240.png │ │ ├── ui-icons_ef8c08_256x240.png │ │ ├── ui-icons_ffd27a_256x240.png │ │ ├── ui-icons_ffffff_256x240.png │ │ ├── ui-bg_flat_10_000000_40x100.png │ │ ├── ui-bg_glass_100_f6f6f6_1x400.png │ │ ├── ui-bg_glass_100_fdf5ce_1x400.png │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ ├── ui-bg_gloss-wave_35_f6a828_500x100.png │ │ ├── ui-bg_highlight-soft_75_ffe45c_1x100.png │ │ ├── ui-bg_diagonals-thick_18_b81900_40x40.png │ │ ├── ui-bg_diagonals-thick_20_666666_40x40.png │ │ └── ui-bg_highlight-soft_100_eeeeee_1x100.png ├── toast_message │ └── images │ │ ├── close.gif │ │ ├── error.png │ │ ├── notice.png │ │ ├── success.png │ │ └── warning.png ├── bootstrap │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 │ └── js │ │ └── npm.js ├── bootstrap-editable-1.5.1 │ ├── bootstrap-editable │ │ └── img │ │ │ ├── clear.png │ │ │ └── loading.gif │ └── inputs-ext │ │ └── address │ │ └── address.css ├── bootstrap-datetimepicker-master │ ├── bower.json │ └── js │ │ └── locales │ │ └── bootstrap-datetimepicker.zh-CN.js ├── bootstrap_toolkit │ └── js │ │ └── init_datepicker.js ├── bootstrap-switch │ ├── bower.json │ ├── component.json │ ├── CONTRIBUTING.md │ └── composer.json ├── css │ ├── jquery.gridly.css │ └── vidinfos.css └── jquery-validate │ └── jquery.validate.css ├── api ├── middleware │ ├── contrib │ │ ├── gin-csrf │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ └── .DS_Store │ │ ├── .DS_Store │ │ ├── gin-nice-recovery │ │ │ └── .gitignore │ │ ├── gzip │ │ │ └── example │ │ │ │ └── example.go │ │ ├── cache │ │ │ └── example │ │ │ │ └── example.go │ │ └── sessions │ │ │ ├── examples │ │ │ ├── example_cookie.go │ │ │ └── example_redis.go │ │ │ ├── cookie_test.go │ │ │ └── redis_test.go │ └── .DS_Store ├── main ├── .DS_Store ├── conf │ ├── .DS_Store │ └── nginx │ │ ├── .DS_Store │ │ └── lua │ │ └── install_ngx.sh ├── docs │ ├── .DS_Store │ └── doc.go ├── controllers │ ├── .DS_Store │ ├── templates │ │ ├── .DS_Store │ │ └── index.tmpl │ └── msg_struct │ │ └── msg.go ├── bin │ ├── logrotate.sh │ └── logrotate-nginx.sh └── gen_doc.go ├── vendor ├── golang.org │ └── x │ │ └── sys │ │ └── unix │ │ ├── .gitignore │ │ ├── asm.s │ │ ├── constants.go │ │ ├── syscall_no_getwd.go │ │ ├── zsysnum_solaris_amd64.go │ │ ├── env_unset.go │ │ ├── flock_linux_32bit.go │ │ ├── asm_solaris_amd64.s │ │ ├── gccgo_linux_amd64.go │ │ ├── race0.go │ │ ├── env_unix.go │ │ ├── asm_linux_arm64.s │ │ ├── str.go │ │ ├── race.go │ │ ├── asm_linux_s390x.s │ │ ├── asm_linux_ppc64x.s │ │ ├── asm_linux_arm.s │ │ ├── asm_linux_mips64x.s │ │ ├── asm_freebsd_arm.s │ │ ├── asm_netbsd_arm.s │ │ ├── asm_darwin_386.s │ │ ├── asm_freebsd_386.s │ │ ├── asm_netbsd_386.s │ │ ├── asm_openbsd_386.s │ │ ├── asm_darwin_amd64.s │ │ ├── asm_freebsd_amd64.s │ │ ├── asm_linux_amd64.s │ │ ├── asm_netbsd_amd64.s │ │ ├── asm_openbsd_amd64.s │ │ ├── asm_dragonfly_amd64.s │ │ ├── asm_darwin_arm.s │ │ ├── bluetooth_linux.go │ │ ├── asm_darwin_arm64.s │ │ └── flock.go ├── github.com │ ├── Sirupsen │ │ └── logrus │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── terminal_bsd.go │ │ │ ├── terminal_solaris.go │ │ │ ├── terminal_linux.go │ │ │ ├── terminal_notwindows.go │ │ │ ├── doc.go │ │ │ └── terminal_windows.go │ ├── boj │ │ └── redistore │ │ │ ├── .gitignore │ │ │ └── doc.go │ ├── gin-gonic │ │ └── gin │ │ │ ├── wercker.yml │ │ │ ├── .gitignore │ │ │ ├── logo.jpg │ │ │ ├── deprecated.go │ │ │ ├── render │ │ │ ├── data.go │ │ │ ├── xml.go │ │ │ ├── redirect.go │ │ │ ├── yaml.go │ │ │ ├── text.go │ │ │ └── render.go │ │ │ ├── binding │ │ │ ├── xml.go │ │ │ └── json.go │ │ │ └── .travis.yml │ ├── astaxie │ │ ├── beego │ │ │ ├── .gitignore │ │ │ ├── grace │ │ │ │ └── conn.go │ │ │ ├── doc.go │ │ │ └── LICENSE │ │ └── .DS_Store │ ├── .DS_Store │ ├── DeanThompson │ │ └── ginpprof │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ ├── dchest │ │ └── uniuri │ │ │ └── .travis.yml │ ├── manucorporat │ │ └── sse │ │ │ ├── .travis.yml │ │ │ └── writer.go │ ├── go-sql-driver │ │ └── mysql │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── PULL_REQUEST_TEMPLATE.md │ │ │ ├── ISSUE_TEMPLATE.md │ │ │ ├── appengine.go │ │ │ └── result.go │ ├── gorilla │ │ ├── context │ │ │ ├── README.md │ │ │ └── .travis.yml │ │ ├── securecookie │ │ │ ├── .travis.yml │ │ │ └── fuzz.go │ │ └── sessions │ │ │ └── .travis.yml │ ├── robfig │ │ └── go-cache │ │ │ └── CONTRIBUTORS │ └── fvbock │ │ └── endless │ │ ├── .gitignore │ │ └── doc.go ├── gopkg.in │ ├── redis.v4 │ │ ├── .gitignore │ │ ├── doc.go │ │ ├── internal │ │ │ └── log.go │ │ ├── Makefile │ │ └── .travis.yml │ ├── go-playground │ │ └── validator.v8 │ │ │ ├── logo.png │ │ │ └── .gitignore │ ├── yaml.v2 │ │ ├── .travis.yml │ │ └── LICENSE │ └── bsm │ │ └── ratelimit.v1 │ │ ├── Makefile │ │ └── .travis.yml └── .DS_Store ├── .DS_Store ├── tests ├── .DS_Store └── learn │ ├── return_defer.go │ ├── maps_forrange.go │ ├── slices_forrange.go │ ├── unction_closure.go │ ├── fibonacci.go │ └── method .go ├── background ├── .DS_Store ├── monitor │ └── monitor.readme └── back_hellowork.go ├── web ├── web-controllers │ └── templates │ │ ├── layout │ │ ├── layout_section │ │ │ ├── footer.html │ │ │ └── sidebar.html │ │ └── layout.html │ │ ├── index.html │ │ └── itemedit │ │ └── js.tpl └── web-routers │ └── router.go ├── Godeps └── Readme ├── utils └── path_util.go ├── orm_sync.go ├── .gitignore ├── conf └── app.conf └── database └── migrations └── 20160729_204932_init_db.go /static/js/ipad/video_type.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/middleware/contrib/gin-csrf/.gitignore: -------------------------------------------------------------------------------- 1 | *.log -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | -------------------------------------------------------------------------------- /vendor/github.com/Sirupsen/logrus/.gitignore: -------------------------------------------------------------------------------- 1 | logrus 2 | -------------------------------------------------------------------------------- /vendor/github.com/boj/redistore/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | -------------------------------------------------------------------------------- /vendor/github.com/gin-gonic/gin/wercker.yml: -------------------------------------------------------------------------------- 1 | box: wercker/default -------------------------------------------------------------------------------- /vendor/gopkg.in/redis.v4/.gitignore: -------------------------------------------------------------------------------- 1 | *.rdb 2 | testdata/*/ 3 | -------------------------------------------------------------------------------- /api/main: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/api/main -------------------------------------------------------------------------------- /static/file_upload/server/node/public/files/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/.DS_Store -------------------------------------------------------------------------------- /static/file_upload/server/gae-go/static/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /static/file_upload/server/php/files/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | !.htaccess 4 | -------------------------------------------------------------------------------- /api/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/api/.DS_Store -------------------------------------------------------------------------------- /static/file_upload/server/gae-python/static/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /tests/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/tests/.DS_Store -------------------------------------------------------------------------------- /api/conf/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/api/conf/.DS_Store -------------------------------------------------------------------------------- /api/docs/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/api/docs/.DS_Store -------------------------------------------------------------------------------- /static/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/.DS_Store -------------------------------------------------------------------------------- /static/hello.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/hello.png -------------------------------------------------------------------------------- /static/run_api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/run_api.png -------------------------------------------------------------------------------- /vendor/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/vendor/.DS_Store -------------------------------------------------------------------------------- /background/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/background/.DS_Store -------------------------------------------------------------------------------- /static/hello_web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/hello_web.png -------------------------------------------------------------------------------- /vendor/github.com/astaxie/beego/.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .DS_Store 3 | *.swp 4 | *.swo 5 | beego.iml 6 | -------------------------------------------------------------------------------- /static/docs/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/docs/.DS_Store -------------------------------------------------------------------------------- /vendor/gopkg.in/redis.v4/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package redis implements a Redis client. 3 | */ 4 | package redis 5 | -------------------------------------------------------------------------------- /api/conf/nginx/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/api/conf/nginx/.DS_Store -------------------------------------------------------------------------------- /api/controllers/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/api/controllers/.DS_Store -------------------------------------------------------------------------------- /api/middleware/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/api/middleware/.DS_Store -------------------------------------------------------------------------------- /vendor/github.com/gin-gonic/gin/.gitignore: -------------------------------------------------------------------------------- 1 | Godeps/* 2 | !Godeps/Godeps.json 3 | coverage.out 4 | count.out 5 | -------------------------------------------------------------------------------- /static/image/user_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/image/user_icon.png -------------------------------------------------------------------------------- /vendor/github.com/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/vendor/github.com/.DS_Store -------------------------------------------------------------------------------- /vendor/github.com/DeanThompson/ginpprof/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.3 5 | - 1.4 6 | - tip 7 | -------------------------------------------------------------------------------- /vendor/github.com/dchest/uniuri/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.2 5 | - 1.3 6 | - 1.4 7 | - tip 8 | -------------------------------------------------------------------------------- /vendor/github.com/manucorporat/sse/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | go: 4 | - 1.3 5 | - 1.4 6 | - tip 7 | -------------------------------------------------------------------------------- /web/web-controllers/templates/layout/layout_section/footer.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/middleware/contrib/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/api/middleware/contrib/.DS_Store -------------------------------------------------------------------------------- /api/middleware/contrib/gin-csrf/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.3 5 | - tip 6 | 7 | script: 8 | - go test -------------------------------------------------------------------------------- /static/docs/bootstrap/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/docs/bootstrap/.DS_Store -------------------------------------------------------------------------------- /api/controllers/templates/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/api/controllers/templates/.DS_Store -------------------------------------------------------------------------------- /static/file_upload/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/file_upload/img/loading.gif -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/tabs/ajax/content4-broken.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/tooltip/ajax/content1.html: -------------------------------------------------------------------------------- 1 |

This content was loaded via ajax.

-------------------------------------------------------------------------------- /vendor/github.com/astaxie/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/vendor/github.com/astaxie/.DS_Store -------------------------------------------------------------------------------- /api/controllers/msg_struct/msg.go: -------------------------------------------------------------------------------- 1 | package msg_struct 2 | 3 | type Msg struct { 4 | Status string 5 | Message string 6 | } -------------------------------------------------------------------------------- /static/docs/images/apimap/L1-left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/docs/images/apimap/L1-left.png -------------------------------------------------------------------------------- /static/docs/images/apimap/L1-right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/docs/images/apimap/L1-right.png -------------------------------------------------------------------------------- /static/file_upload/img/progressbar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/file_upload/img/progressbar.gif -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/tooltip/ajax/content2.html: -------------------------------------------------------------------------------- 1 |

This other content was loaded via ajax.

-------------------------------------------------------------------------------- /static/toast_message/images/close.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/toast_message/images/close.gif -------------------------------------------------------------------------------- /static/toast_message/images/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/toast_message/images/error.png -------------------------------------------------------------------------------- /static/toast_message/images/notice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/toast_message/images/notice.png -------------------------------------------------------------------------------- /static/docs/images/apimap/L1-center.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/docs/images/apimap/L1-center.png -------------------------------------------------------------------------------- /static/docs/images/apimap/L3-bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/docs/images/apimap/L3-bottom.png -------------------------------------------------------------------------------- /static/docs/images/apimap/L3-center.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/docs/images/apimap/L3-center.png -------------------------------------------------------------------------------- /static/docs/images/apimap/L3-li-top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/docs/images/apimap/L3-li-top.png -------------------------------------------------------------------------------- /static/docs/images/apimap/L3-ul-top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/docs/images/apimap/L3-ul-top.png -------------------------------------------------------------------------------- /static/toast_message/images/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/toast_message/images/success.png -------------------------------------------------------------------------------- /static/toast_message/images/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/toast_message/images/warning.png -------------------------------------------------------------------------------- /vendor/github.com/gin-gonic/gin/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/vendor/github.com/gin-gonic/gin/logo.jpg -------------------------------------------------------------------------------- /api/middleware/contrib/gin-csrf/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/api/middleware/contrib/gin-csrf/.DS_Store -------------------------------------------------------------------------------- /static/docs/images/apimap/vertical-line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/docs/images/apimap/vertical-line.png -------------------------------------------------------------------------------- /vendor/github.com/boj/redistore/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package redistore is a session store backend for gorilla/sessions 3 | */ 4 | package redistore 5 | -------------------------------------------------------------------------------- /static/docs/images/apimap/white-highlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/docs/images/apimap/white-highlight.png -------------------------------------------------------------------------------- /static/js/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/js/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /static/js/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/js/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /static/js/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/js/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /static/js/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/js/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /static/js/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/js/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /static/js/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/js/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /static/js/images/ui-bg_flat_75_ffffff_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/js/images/ui-bg_flat_75_ffffff_40x100.png -------------------------------------------------------------------------------- /static/js/images/ui-bg_glass_55_fbf9ee_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/js/images/ui-bg_glass_55_fbf9ee_1x400.png -------------------------------------------------------------------------------- /static/js/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/js/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /static/js/images/ui-bg_glass_75_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/js/images/ui-bg_glass_75_dadada_1x400.png -------------------------------------------------------------------------------- /static/js/images/ui-bg_glass_75_e6e6e6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/js/images/ui-bg_glass_75_e6e6e6_1x400.png -------------------------------------------------------------------------------- /static/js/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/js/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /vendor/github.com/go-sql-driver/mysql/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .DS_Store? 3 | ._* 4 | .Spotlight-V100 5 | .Trashes 6 | Icon? 7 | ehthumbs.db 8 | Thumbs.db 9 | -------------------------------------------------------------------------------- /static/docs/bootstrap/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/docs/bootstrap/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /static/file_upload/server/gae-go/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/file_upload/server/gae-go/static/favicon.ico -------------------------------------------------------------------------------- /vendor/gopkg.in/go-playground/validator.v8/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/vendor/gopkg.in/go-playground/validator.v8/logo.png -------------------------------------------------------------------------------- /Godeps/Readme: -------------------------------------------------------------------------------- 1 | This directory tree is generated automatically by godep. 2 | 3 | Please do not edit. 4 | 5 | See https://github.com/tools/godep for more information. 6 | -------------------------------------------------------------------------------- /static/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /static/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /static/file_upload/server/gae-python/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/file_upload/server/gae-python/static/favicon.ico -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4 5 | - 1.5 6 | - 1.6 7 | - tip 8 | 9 | go_import_path: gopkg.in/yaml.v2 10 | -------------------------------------------------------------------------------- /static/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /static/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /static/docs/bootstrap/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/docs/bootstrap/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /static/js/images/ui-bg_highlight-soft_75_cccccc_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/js/images/ui-bg_highlight-soft_75_cccccc_1x100.png -------------------------------------------------------------------------------- /static/docs/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/docs/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /static/docs/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/docs/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /static/docs/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/docs/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /static/docs/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/docs/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /static/bootstrap-editable-1.5.1/bootstrap-editable/img/clear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/bootstrap-editable-1.5.1/bootstrap-editable/img/clear.png -------------------------------------------------------------------------------- /static/bootstrap-editable-1.5.1/bootstrap-editable/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/bootstrap-editable-1.5.1/bootstrap-editable/img/loading.gif -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/css/ui-lightness/images/animated-overlay.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/css/ui-lightness/images/animated-overlay.gif -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/images/calendar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/images/calendar.gif -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/images/pbar-ani.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/images/pbar-ani.gif -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/css/ui-lightness/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/css/ui-lightness/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/css/ui-lightness/images/ui-icons_228ef1_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/css/ui-lightness/images/ui-icons_228ef1_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/css/ui-lightness/images/ui-icons_ef8c08_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/css/ui-lightness/images/ui-icons_ef8c08_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/css/ui-lightness/images/ui-icons_ffd27a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/css/ui-lightness/images/ui-icons_ffd27a_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/css/ui-lightness/images/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/css/ui-lightness/images/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/images/demo-config-on.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/images/demo-config-on.gif -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/images/icon-docs-info.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/images/icon-docs-info.gif -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/position/images/earth.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/position/images/earth.jpg -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/position/images/flight.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/position/images/flight.jpg -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/position/images/rocket.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/position/images/rocket.jpg -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/images/demo-spindown-open.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/images/demo-spindown-open.gif -------------------------------------------------------------------------------- /static/bootstrap-datetimepicker-master/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bootstrap-datetimepicker", 3 | "version": "2.0.0", 4 | "main": ["js/bootstrap-datetimepicker.min.js", "css/bootstrap-datetimepicker.min.css"] 5 | } 6 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/datepicker/images/calendar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/datepicker/images/calendar.gif -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/images/demo-config-on-tile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/images/demo-config-on-tile.gif -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/images/demo-spindown-closed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/images/demo-spindown-closed.gif -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/progressbar/images/pbar-ani.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/progressbar/images/pbar-ani.gif -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/tooltip/images/st-stephens.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/tooltip/images/st-stephens.jpg -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/tooltip/images/tower-bridge.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/tooltip/images/tower-bridge.jpg -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras.jpg -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras2.jpg -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras3.jpg -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras4.jpg -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/images/animated-overlay.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/images/animated-overlay.gif -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/autocomplete/images/jquery_32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/autocomplete/images/jquery_32x32.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras_min.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras_min.jpg -------------------------------------------------------------------------------- /static/bootstrap-editable-1.5.1/inputs-ext/address/address.css: -------------------------------------------------------------------------------- 1 | .editable-address { 2 | display: block; 3 | margin-bottom: 5px; 4 | } 5 | 6 | .editable-address span { 7 | width: 70px; 8 | display: inline-block; 9 | } -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/autocomplete/images/jqueryui_32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/autocomplete/images/jqueryui_32x32.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/autocomplete/images/sizzlejs_32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/autocomplete/images/sizzlejs_32x32.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/autocomplete/images/transparent_1x1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/autocomplete/images/transparent_1x1.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras2_min.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras2_min.jpg -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras3_min.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras3_min.jpg -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras4_min.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras4_min.jpg -------------------------------------------------------------------------------- /utils/path_util.go: -------------------------------------------------------------------------------- 1 | package utils 2 | 3 | 4 | import ( 5 | "path" 6 | "runtime" 7 | ) 8 | 9 | func CallerSourcePath() string { 10 | _, callerPath, _, _ := runtime.Caller(1) 11 | return path.Dir(callerPath) 12 | } -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/animated-overlay.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/animated-overlay.gif -------------------------------------------------------------------------------- /vendor/github.com/go-sql-driver/mysql/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | go: 4 | - 1.2 5 | - 1.3 6 | - 1.4 7 | - 1.5 8 | - 1.6 9 | - tip 10 | 11 | before_script: 12 | - mysql -e 'create database gotest;' 13 | -------------------------------------------------------------------------------- /web/web-controllers/templates/index.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |

梦想还是要有的,万一实现了哪!

4 |

只要不开始行动,说什么都是徒劳的,为了梦想打拼也许现在觉得有风险不值,当你回首往事的时候,会有一个值得回眸的人生.

5 |
6 |
-------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/autocomplete/images/ui-anim_basic_16x16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/demos/autocomplete/images/ui-anim_basic_16x16.gif -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/animated-overlay.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/animated-overlay.gif -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.theme.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | undefined -------------------------------------------------------------------------------- /tests/learn/return_defer.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func f() (ret int) { 6 | defer func() { 7 | ret++ 8 | }() 9 | return 1 10 | } 11 | 12 | func main() { 13 | fmt.Println(f()) 14 | } 15 | 16 | -------------------------------------------------------------------------------- /vendor/github.com/Sirupsen/logrus/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.3 4 | - 1.4 5 | - 1.5 6 | - 1.6 7 | - tip 8 | install: 9 | - go get -t ./... 10 | script: GOMAXPROCS=4 GORACE="halt_on_error=1" go test -race -v ./... 11 | -------------------------------------------------------------------------------- /vendor/github.com/Sirupsen/logrus/terminal_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin freebsd openbsd netbsd dragonfly 2 | 3 | package logrus 4 | 5 | import "syscall" 6 | 7 | const ioctlReadTermios = syscall.TIOCGETA 8 | 9 | type Termios syscall.Termios 10 | -------------------------------------------------------------------------------- /static/docs/api_test_docs.html: -------------------------------------------------------------------------------- 1 | {% autoescape None %} 2 | {% for (module, apilist) in sorted(apis.items(),reverse=True) %} 3 | {% for api in apilist %} 4 | {{ api.description }} {{ api.method }} {{ api.test_url }} 5 | {% end %} 6 | {% end %} -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-icons_228ef1_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-icons_228ef1_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/animated-overlay.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/animated-overlay.gif -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-icons_228ef1_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-icons_228ef1_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-icons_ef8c08_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-icons_ef8c08_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-icons_ffd27a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-icons_ffd27a_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-bg_flat_10_000000_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-bg_flat_10_000000_40x100.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-bg_glass_100_f6f6f6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-bg_glass_100_f6f6f6_1x400.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-bg_glass_100_fdf5ce_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-bg_glass_100_fdf5ce_1x400.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-bg_gloss-wave_35_f6a828_500x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-bg_gloss-wave_35_f6a828_500x100.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-bg_diagonals-thick_18_b81900_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-bg_diagonals-thick_18_b81900_40x40.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-bg_diagonals-thick_20_666666_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-bg_diagonals-thick_20_666666_40x40.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-bg_highlight-soft_100_eeeeee_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-bg_highlight-soft_100_eeeeee_1x100.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-bg_highlight-soft_75_ffe45c_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisonlz/Gin_API_Framework/HEAD/static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/images/ui-bg_highlight-soft_75_ffe45c_1x100.png -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.autocomplete.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | .ui-autocomplete{position:absolute;top:0;left:0;cursor:default} -------------------------------------------------------------------------------- /vendor/gopkg.in/redis.v4/internal/log.go: -------------------------------------------------------------------------------- 1 | package internal 2 | 3 | import ( 4 | "fmt" 5 | "log" 6 | ) 7 | 8 | var Logger *log.Logger 9 | 10 | func Logf(s string, args ...interface{}) { 11 | if Logger == nil { 12 | return 13 | } 14 | Logger.Output(2, fmt.Sprintf(s, args...)) 15 | } 16 | -------------------------------------------------------------------------------- /static/file_upload/server/gae-go/app.yaml: -------------------------------------------------------------------------------- 1 | application: jquery-file-upload 2 | version: 2 3 | runtime: go 4 | api_version: go1 5 | 6 | handlers: 7 | - url: /(favicon\.ico|robots\.txt) 8 | static_files: static/\1 9 | upload: static/(.*) 10 | expiration: '1d' 11 | - url: /.* 12 | script: _go_app 13 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/jquery.ui.autocomplete.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | .ui-autocomplete{position:absolute;top:0;left:0;cursor:default} -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | TEXT ·use(SB),NOSPLIT,$0 10 | RET 11 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.selectable.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | .ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black} -------------------------------------------------------------------------------- /static/bootstrap_toolkit/js/init_datepicker.js: -------------------------------------------------------------------------------- 1 | (function($){ 2 | $(document).on('focus.django-bootstrap-toolkit.data-api click.django-bootstrap-toolkit.data-api', 'input[data-bootstrap-widget=datepicker][data-provide!="datepicker"]', function (e) { 3 | $(e.target).datepicker("show"); 4 | }); 5 | })(jQuery); 6 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/jquery.ui.selectable.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | .ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black} -------------------------------------------------------------------------------- /static/bootstrap-switch/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bootstrap-switch", 3 | "description" : "Unofficial bootstrap switch", 4 | "version": "1.8.0", 5 | "main": "static/js/bootstrap-switch.js", 6 | "ignore": [ 7 | "examples" 8 | ], 9 | "dependencies": { 10 | "jquery": "~1.9.0" 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /static/css/jquery.gridly.css: -------------------------------------------------------------------------------- 1 | /* jQuery Gridly 2 | * Copyright 2013 Kevin Sylvestre 3 | * 1.2.1 4 | */ 5 | .gridly, .gridly > :not(.dragging) { 6 | -webkit-transition: all 0.4s ease-in-out; 7 | -moz-transition: all 0.4s ease-in-out; 8 | transition: all 0.4s ease-in-out; } 9 | .gridly .dragging { 10 | z-index: 800; } 11 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/hide/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Effects Demos 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/show/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Effects Demos 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/widget/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Widget Demo 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /api/docs/doc.go: -------------------------------------------------------------------------------- 1 | package docs 2 | 3 | //bee run -gendoc=true -downdoc=true 4 | 5 | 6 | 7 | 8 | import ( 9 | "Gin_API_Framework/api/docs/swagger" 10 | ) 11 | 12 | type APIDoc struct { 13 | Api swagger.ResourceListing 14 | Subapi map[string][]swagger.API 15 | } 16 | 17 | 18 | func init() { 19 | 20 | } 21 | 22 | 23 | -------------------------------------------------------------------------------- /orm_sync.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "github.com/astaxie/beego/orm" 6 | _ "Gin_API_Framework/models" 7 | ) 8 | 9 | 10 | func main() { 11 | fmt.Println("starting......") 12 | orm.RunCommand() 13 | //orm.RunSyncdb("default", false, true) 14 | fmt.Println("ended......") 15 | } 16 | 17 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/addClass/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Effects Demos 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/animate/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Effects Demos 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/toggle/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Effects Demos 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/removeClass/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Effects Demos 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/switchClass/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Effects Demos 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/toggleClass/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Effects Demos 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /vendor/gopkg.in/bsm/ratelimit.v1/Makefile: -------------------------------------------------------------------------------- 1 | default: test 2 | 3 | testdeps: 4 | @go get github.com/onsi/ginkgo 5 | @go get github.com/onsi/gomega 6 | 7 | test: testdeps 8 | @go test ./... 9 | 10 | testrace: testdeps 11 | @go test ./... -race 12 | 13 | testall: test testrace 14 | 15 | bench: 16 | @go test ./... -run=NONE -bench=. 17 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/context/README.md: -------------------------------------------------------------------------------- 1 | context 2 | ======= 3 | [![Build Status](https://travis-ci.org/gorilla/context.png?branch=master)](https://travis-ci.org/gorilla/context) 4 | 5 | gorilla/context is a general purpose registry for global request variables. 6 | 7 | Read the full documentation here: http://www.gorillatoolkit.org/pkg/context 8 | -------------------------------------------------------------------------------- /tests/learn/maps_forrange.go: -------------------------------------------------------------------------------- 1 | package main 2 | import "fmt" 3 | 4 | func main() { 5 | 6 | map1 := make(map[int]float32) 7 | map1[1] = 1.0 8 | map1[2] = 2.0 9 | map1[3] = 3.0 10 | map1[4] = 4.0 11 | 12 | for key, value := range map1 { 13 | fmt.Printf("key is: %d - value is: %f\n", key, value) 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /tests/learn/slices_forrange.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | 7 | var slice1 []int = make([]int, 4) 8 | 9 | slice1[0] = 1 10 | slice1[1] = 2 11 | slice1[2] = 3 12 | slice1[3] = 4 13 | 14 | for index, value :=range slice1 { 15 | fmt.Printf("Slice at %d is: %d\n",index,value) 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /tests/learn/unction_closure.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main() { 6 | var f = Adder() 7 | fmt.Print(f(1), " - ") 8 | fmt.Print(f(20), " - ") 9 | fmt.Print(f(300)) 10 | } 11 | 12 | func Adder() func(int) int { 13 | var x int 14 | return func(delta int) int { 15 | x += delta 16 | return x 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /static/file_upload/server/gae-python/app.yaml: -------------------------------------------------------------------------------- 1 | application: jquery-file-upload 2 | version: 1 3 | runtime: python27 4 | api_version: 1 5 | threadsafe: true 6 | 7 | builtins: 8 | - deferred: on 9 | 10 | handlers: 11 | - url: /(favicon\.ico|robots\.txt) 12 | static_files: static/\1 13 | upload: static/(.*) 14 | expiration: '1d' 15 | - url: /.* 16 | script: main.app 17 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/menu/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Menu Demos 6 | 7 | 8 | 9 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /vendor/github.com/Sirupsen/logrus/terminal_solaris.go: -------------------------------------------------------------------------------- 1 | // +build solaris 2 | 3 | package logrus 4 | 5 | import ( 6 | "os" 7 | 8 | "golang.org/x/sys/unix" 9 | ) 10 | 11 | // IsTerminal returns true if the given file descriptor is a terminal. 12 | func IsTerminal() bool { 13 | _, err := unix.IoctlGetTermios(int(os.Stdout.Fd()), unix.TCGETA) 14 | return err == nil 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/constants.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | package unix 8 | 9 | const ( 10 | R_OK = 0x4 11 | W_OK = 0x2 12 | X_OK = 0x1 13 | ) 14 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/effect/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Effects Demos 6 | 7 | 8 | 9 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /static/file_upload/css/style.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* 3 | * jQuery File Upload Plugin CSS Example 8.8.2 4 | * https://github.com/blueimp/jQuery-File-Upload 5 | * 6 | * Copyright 2013, Sebastian Tschan 7 | * https://blueimp.net 8 | * 9 | * Licensed under the MIT license: 10 | * http://www.opensource.org/licenses/MIT 11 | */ 12 | 13 | body { 14 | padding-top: 60px; 15 | } 16 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/position/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Position Demo 6 | 7 | 8 | 9 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.tooltip.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | .ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px} -------------------------------------------------------------------------------- /vendor/github.com/Sirupsen/logrus/terminal_linux.go: -------------------------------------------------------------------------------- 1 | // Based on ssh/terminal: 2 | // Copyright 2013 The Go Authors. All rights reserved. 3 | // Use of this source code is governed by a BSD-style 4 | // license that can be found in the LICENSE file. 5 | 6 | package logrus 7 | 8 | import "syscall" 9 | 10 | const ioctlReadTermios = syscall.TCGETS 11 | 12 | type Termios syscall.Termios 13 | -------------------------------------------------------------------------------- /vendor/github.com/robfig/go-cache/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | This is a list of people who have contributed code to go-cache. They, or their 2 | employers, are the copyright holders of the contributed code. Contributed code 3 | is subject to the license restrictions listed in LICENSE (as they were when the 4 | code was contributed.) 5 | 6 | Dustin Sallings 7 | Sergey Shepelev 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_no_getwd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build dragonfly freebsd netbsd openbsd 6 | 7 | package unix 8 | 9 | const ImplementsGetwd = false 10 | 11 | func Getwd() (string, error) { return "", ENOTSUP } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build amd64,solaris 6 | 7 | package unix 8 | 9 | // TODO(aram): remove these before Go 1.3. 10 | const ( 11 | SYS_EXECVE = 59 12 | SYS_FCNTL = 62 13 | ) 14 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/jquery.ui.tooltip.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | .ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px} -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | .idea/* 6 | .idea/ 7 | # Folders 8 | _obj 9 | _test 10 | 11 | # Architecture specific extensions/prefixes 12 | *.[568vq] 13 | [568vq].out 14 | 15 | *.cgo1.go 16 | *.cgo2.c 17 | _cgo_defun.c 18 | _cgo_gotypes.go 19 | _cgo_export.* 20 | 21 | _testmain.go 22 | 23 | *.exe 24 | *.test 25 | *.prof 26 | -------------------------------------------------------------------------------- /vendor/github.com/go-sql-driver/mysql/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ### Description 2 | Please explain the changes you made here. 3 | 4 | ### Checklist 5 | - [ ] Code compiles correctly 6 | - [ ] Created tests which fail without the change (if possible) 7 | - [ ] All tests passing 8 | - [ ] Extended the README / documentation, if necessary 9 | - [ ] Added myself / the copyright holder to the AUTHORS file 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/env_unset.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.4 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | func Unsetenv(key string) error { 12 | // This was added in Go 1.4. 13 | return syscall.Unsetenv(key) 14 | } 15 | -------------------------------------------------------------------------------- /web/web-controllers/templates/layout/layout_section/sidebar.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /static/bootstrap-switch/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "bootstrap-switch", 3 | "description" : "Unofficial bootstrap switch", 4 | "version" : "1.8.0", 5 | "main" : "static/js/bootstrap-switch.js", 6 | "ignore": [ 7 | "examples" 8 | ], 9 | "dependencies": { 10 | "jquery": "~1.9.0" 11 | }, 12 | "scripts": [ 13 | "static/js/bootstrap-switch.js" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.selectable.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery UI Selectable 1.10.4 3 | * http://jqueryui.com 4 | * 5 | * Copyright 2014 jQuery Foundation and other contributors 6 | * Released under the MIT license. 7 | * http://jquery.org/license 8 | */ 9 | .ui-selectable-helper { 10 | position: absolute; 11 | z-index: 100; 12 | border: 1px dotted black; 13 | } 14 | -------------------------------------------------------------------------------- /vendor/gopkg.in/bsm/ratelimit.v1/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | script: make testall 3 | sudo: false 4 | go: 5 | - 1.5 6 | - 1.4 7 | - 1.3 8 | - 1.2 9 | install: 10 | - go get github.com/onsi/ginkgo github.com/onsi/gomega 11 | - mkdir -p $GOPATH/src/gopkg.in/bsm 12 | - mv $GOPATH/src/github.com/bsm/ratelimit $GOPATH/src/gopkg.in/bsm/ratelimit.v1 13 | - cd $GOPATH/src/gopkg.in/bsm/ratelimit.v1 14 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/context/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | matrix: 5 | include: 6 | - go: 1.3 7 | - go: 1.4 8 | - go: 1.5 9 | - go: 1.6 10 | - go: tip 11 | allow_failures: 12 | - go: tip 13 | 14 | script: 15 | - go get -t -v ./... 16 | - diff -u <(echo -n) <(gofmt -d .) 17 | - go vet $(go list ./... | grep -v /vendor/) 18 | - go test -v -race ./... 19 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.all.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery UI CSS Framework 1.10.4 3 | * http://jqueryui.com 4 | * 5 | * Copyright 2014 jQuery Foundation and other contributors 6 | * Released under the MIT license. 7 | * http://jquery.org/license 8 | * 9 | * http://api.jqueryui.com/category/theming/ 10 | */ 11 | @import "jquery.ui.base.css"; 12 | @import "jquery.ui.theme.css"; 13 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/jquery.ui.selectable.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery UI Selectable 1.10.4 3 | * http://jqueryui.com 4 | * 5 | * Copyright 2014 jQuery Foundation and other contributors 6 | * Released under the MIT license. 7 | * http://jquery.org/license 8 | */ 9 | .ui-selectable-helper { 10 | position: absolute; 11 | z-index: 100; 12 | border: 1px dotted black; 13 | } 14 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-fade.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | (function(t){t.effects.effect.fade=function(e,i){var s=t(this),n=t.effects.setMode(s,e.mode||"toggle");s.animate({opacity:n},{queue:!1,duration:e.duration,easing:e.easing,complete:i})}})(jQuery); -------------------------------------------------------------------------------- /vendor/github.com/fvbock/endless/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | *~ -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | matrix: 5 | include: 6 | - go: 1.3 7 | - go: 1.4 8 | - go: 1.5 9 | - go: 1.6 10 | - go: tip 11 | allow_failures: 12 | - go: tip 13 | 14 | script: 15 | - go get -t -v ./... 16 | - diff -u <(echo -n) <(gofmt -d .) 17 | - go vet $(go list ./... | grep -v /vendor/) 18 | - go test -v -race ./... 19 | -------------------------------------------------------------------------------- /api/middleware/contrib/gin-nice-recovery/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /vendor/github.com/DeanThompson/ginpprof/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/demos.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-size: 62.5%; 3 | font-family: "Trebuchet MS", "Arial", "Helvetica", "Verdana", "sans-serif"; 4 | } 5 | 6 | table { 7 | font-size: 1em; 8 | } 9 | 10 | .demo-description { 11 | clear: both; 12 | padding: 12px; 13 | font-size: 1.3em; 14 | line-height: 1.4em; 15 | } 16 | 17 | .ui-draggable, .ui-droppable { 18 | background-position: top; 19 | } 20 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/jquery.ui.all.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery UI CSS Framework 1.10.4 3 | * http://jqueryui.com 4 | * 5 | * Copyright 2014 jQuery Foundation and other contributors 6 | * Released under the MIT license. 7 | * http://jquery.org/license 8 | * 9 | * http://api.jqueryui.com/category/theming/ 10 | */ 11 | @import "jquery.ui.base.css"; 12 | @import "jquery.ui.theme.css"; 13 | -------------------------------------------------------------------------------- /vendor/github.com/gin-gonic/gin/deprecated.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Manu Martinez-Almeida. All rights reserved. 2 | // Use of this source code is governed by a MIT style 3 | // license that can be found in the LICENSE file. 4 | 5 | package gin 6 | 7 | import "log" 8 | 9 | func (c *Context) GetCookie(name string) (string, error) { 10 | log.Println("GetCookie() method is deprecated. Use Cookie() instead.") 11 | return c.Cookie(name) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/sessions/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | matrix: 5 | include: 6 | - go: 1.3 7 | - go: 1.4 8 | - go: 1.5 9 | - go: 1.6 10 | - go: tip 11 | allow_failures: 12 | - go: tip 13 | 14 | install: 15 | - # skip 16 | 17 | script: 18 | - go get -t -v ./... 19 | - diff -u <(echo -n) <(gofmt -d .) 20 | - go vet $(go list ./... | grep -v /vendor/) 21 | - go test -v -race ./... 22 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/selectable/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Selectable Demos 6 | 7 | 8 | 9 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /web/web-routers/router.go: -------------------------------------------------------------------------------- 1 | package web_routers 2 | 3 | import ( 4 | "github.com/astaxie/beego" 5 | "Gin_API_Framework/web/web-controllers" 6 | ) 7 | 8 | 9 | func init() { 10 | beego.Router("/", &web_controllers.MainController{}) 11 | beego.Router("/item/list", &web_controllers.ItemListCtroller{}) 12 | beego.Router("/item/pos", &web_controllers.ItemPositionCtroller{}) 13 | beego.Router("/item/edit", &web_controllers.ItemEditCtroller{}) 14 | } 15 | -------------------------------------------------------------------------------- /static/file_upload/server/php/index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Progressbar Demos 6 | 7 | 8 | 9 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /conf/app.conf: -------------------------------------------------------------------------------- 1 | 2 | HttpPort = 8000 3 | appname = api_project 4 | runmode = dev 5 | autorender = false 6 | copyrequestbody = true 7 | EnableDocs = true 8 | 9 | #mysql_config = "root:@/go_platform?charset=utf8" 10 | #StaticDir = /Users/yinxing/godir/go/src/Gin_API_Framework/static 11 | #ViewsPath = /Users/yinxing/godir/go/src/Gin_API_Framework/web-controllers/templates 12 | 13 | #EnableAdmin = true 14 | #AdminAddr = 127.0.0.1 15 | #AdminPort = 8088 16 | 17 | 18 | -------------------------------------------------------------------------------- /static/jquery-validate/jquery.validate.css: -------------------------------------------------------------------------------- 1 | form label.error { 2 | background:url("/images/icons/cross_circle.png") no-repeat 0px 0px; 3 | padding-left: 16px; 4 | padding-bottom: 2px; 5 | font-weight: bold; 6 | color: #EA5200; 7 | border: none; 8 | } 9 | 10 | form label.checked { 11 | background:url("/images/icons/tick_circle.png") no-repeat 0px 0px; 12 | } 13 | 14 | form .error { 15 | background: none; 16 | border: 2px solid #EA5200; 17 | } 18 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.autocomplete.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery UI Autocomplete 1.10.4 3 | * http://jqueryui.com 4 | * 5 | * Copyright 2014 jQuery Foundation and other contributors 6 | * Released under the MIT license. 7 | * http://jquery.org/license 8 | * 9 | * http://api.jqueryui.com/autocomplete/#theming 10 | */ 11 | .ui-autocomplete { 12 | position: absolute; 13 | top: 0; 14 | left: 0; 15 | cursor: default; 16 | } 17 | -------------------------------------------------------------------------------- /tests/learn/fibonacci.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | func main(){ 6 | 7 | result := 0 8 | for i:=0;i<10;i++ { 9 | result = fibonacci(i) 10 | fmt.Printf("fibonacci(%d) is:%d\n",i,result) 11 | } 12 | } 13 | 14 | func fibonacci(n int) (res int){ 15 | 16 | if n<1{ 17 | return 1 18 | } else { 19 | return fibonacci(n-1) + fibonacci(n-2) 20 | } 21 | 22 | return res 23 | } 24 | 25 | 26 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/flock_linux_32bit.go: -------------------------------------------------------------------------------- 1 | // +build linux,386 linux,arm 2 | 3 | // Copyright 2014 The Go Authors. All rights reserved. 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file. 6 | 7 | package unix 8 | 9 | func init() { 10 | // On 32-bit Linux systems, the fcntl syscall that matches Go's 11 | // Flock_t type is SYS_FCNTL64, not SYS_FCNTL. 12 | fcntl64Syscall = SYS_FCNTL64 13 | } 14 | -------------------------------------------------------------------------------- /api/middleware/contrib/gzip/example/example.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "Gin_API_Framework/api/middleware/contrib/gzip" 6 | "github.com/gin-gonic/gin" 7 | "time" 8 | ) 9 | 10 | func main() { 11 | r := gin.Default() 12 | r.Use(gzip.Gzip(gzip.DefaultCompression)) 13 | r.GET("/ping", func(c *gin.Context) { 14 | c.String(200, "pong "+fmt.Sprint(time.Now().Unix())) 15 | }) 16 | 17 | // Listen and Server in 0.0.0.0:8080 18 | r.Run(":8080") 19 | } 20 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/jquery.ui.autocomplete.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery UI Autocomplete 1.10.4 3 | * http://jqueryui.com 4 | * 5 | * Copyright 2014 jQuery Foundation and other contributors 6 | * Released under the MIT license. 7 | * http://jquery.org/license 8 | * 9 | * http://api.jqueryui.com/autocomplete/#theming 10 | */ 11 | .ui-autocomplete { 12 | position: absolute; 13 | top: 0; 14 | left: 0; 15 | cursor: default; 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/fvbock/endless/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | endless provides a drop in replacement for the `net/http` stl functions `ListenAndServe` and `ListenAndServeTLS` to achieve zero downtime restarts and code upgrades. 3 | 4 | The code is based on the excellent post [Graceful Restart in Golang](http://grisha.org/blog/2014/06/03/graceful-restart-in-golang/) by [Grisha Trubetskoy](https://github.com/grisha). I took his code as a start. So a lot of credit to Grisha! 5 | */ 6 | package endless 7 | -------------------------------------------------------------------------------- /vendor/gopkg.in/go-playground/validator.v8/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | *.test 26 | *.out 27 | *.txt 28 | cover.html 29 | README.html -------------------------------------------------------------------------------- /static/file_upload/css/jquery.fileupload-ui-noscript.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* 3 | * jQuery File Upload UI Plugin NoScript CSS 8.8.5 4 | * https://github.com/blueimp/jQuery-File-Upload 5 | * 6 | * Copyright 2012, Sebastian Tschan 7 | * https://blueimp.net 8 | * 9 | * Licensed under the MIT license: 10 | * http://www.opensource.org/licenses/MIT 11 | */ 12 | 13 | .fileinput-button i, 14 | .fileupload-buttonbar .delete, 15 | .fileupload-buttonbar .toggle { 16 | display: none; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/gopkg.in/redis.v4/Makefile: -------------------------------------------------------------------------------- 1 | all: testdeps 2 | go test ./... 3 | go test ./... -short -race 4 | 5 | testdeps: testdata/redis/src/redis-server 6 | 7 | bench: testdeps 8 | go test ./... -test.run=NONE -test.bench=. -test.benchmem 9 | 10 | .PHONY: all test testdeps bench 11 | 12 | testdata/redis: 13 | mkdir -p $@ 14 | wget -qO- https://github.com/antirez/redis/archive/unstable.tar.gz | tar xvz --strip-components=1 -C $@ 15 | 16 | testdata/redis/src/redis-server: testdata/redis 17 | cd $< && make all 18 | -------------------------------------------------------------------------------- /static/file_upload/css/demo-ie8.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* 3 | * jQuery File Upload Demo CSS Fixes for IE<9 1.0.0 4 | * https://github.com/blueimp/jQuery-File-Upload 5 | * 6 | * Copyright 2013, Sebastian Tschan 7 | * https://blueimp.net 8 | * 9 | * Licensed under the MIT license: 10 | * http://www.opensource.org/licenses/MIT 11 | */ 12 | 13 | .navigation { 14 | list-style: none; 15 | padding: 0; 16 | margin: 1em 0; 17 | } 18 | .navigation li { 19 | display: inline; 20 | margin-right: 10px; 21 | } 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_solaris_amd64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go 11 | // 12 | 13 | TEXT ·sysvicall6(SB),NOSPLIT,$0-64 14 | JMP syscall·sysvicall6(SB) 15 | 16 | TEXT ·rawSysvicall6(SB),NOSPLIT,$0-64 17 | JMP syscall·rawSysvicall6(SB) 18 | -------------------------------------------------------------------------------- /vendor/github.com/manucorporat/sse/writer.go: -------------------------------------------------------------------------------- 1 | package sse 2 | 3 | import "io" 4 | 5 | type stringWriter interface { 6 | io.Writer 7 | WriteString(string) (int, error) 8 | } 9 | 10 | type stringWrapper struct { 11 | io.Writer 12 | } 13 | 14 | func (w stringWrapper) WriteString(str string) (int, error) { 15 | return w.Writer.Write([]byte(str)) 16 | } 17 | 18 | func checkWriter(writer io.Writer) stringWriter { 19 | if w, ok := writer.(stringWriter); ok { 20 | return w 21 | } else { 22 | return stringWrapper{writer} 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /static/bootstrap/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /static/docs/bootstrap/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.progressbar.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | .ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("images/animated-overlay.gif");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none} -------------------------------------------------------------------------------- /vendor/github.com/astaxie/beego/grace/conn.go: -------------------------------------------------------------------------------- 1 | package grace 2 | 3 | import ( 4 | "errors" 5 | "net" 6 | ) 7 | 8 | type graceConn struct { 9 | net.Conn 10 | server *Server 11 | } 12 | 13 | func (c graceConn) Close() (err error) { 14 | defer func() { 15 | if r := recover(); r != nil { 16 | switch x := r.(type) { 17 | case string: 18 | err = errors.New(x) 19 | case error: 20 | err = x 21 | default: 22 | err = errors.New("Unknown panic") 23 | } 24 | } 25 | }() 26 | c.server.wg.Done() 27 | return c.Conn.Close() 28 | } 29 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/jquery.ui.progressbar.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | .ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("images/animated-overlay.gif");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none} -------------------------------------------------------------------------------- /vendor/github.com/gin-gonic/gin/render/data.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Manu Martinez-Almeida. All rights reserved. 2 | // Use of this source code is governed by a MIT style 3 | // license that can be found in the LICENSE file. 4 | 5 | package render 6 | 7 | import "net/http" 8 | 9 | type Data struct { 10 | ContentType string 11 | Data []byte 12 | } 13 | 14 | func (r Data) Render(w http.ResponseWriter) error { 15 | if len(r.ContentType) > 0 { 16 | w.Header()["Content-Type"] = []string{r.ContentType} 17 | } 18 | w.Write(r.Data) 19 | return nil 20 | } 21 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build gccgo,linux,amd64 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | //extern gettimeofday 12 | func realGettimeofday(*Timeval, *byte) int32 13 | 14 | func gettimeofday(tv *Timeval) (err syscall.Errno) { 15 | r := realGettimeofday(tv, nil) 16 | if r < 0 { 17 | return syscall.GetErrno() 18 | } 19 | return 0 20 | } 21 | -------------------------------------------------------------------------------- /api/bin/logrotate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | TORNADO_LOG_DIR=/data/logs/tornado 4 | YESTERDAY_LOG_DIR=$TORNADO_LOG_DIR/`date -d yesterday +%Y%m%d` 5 | 6 | mkdir $YESTERDAY_LOG_DIR 7 | cp $TORNADO_LOG_DIR/900* $YESTERDAY_LOG_DIR/ 8 | 9 | echo > $TORNADO_LOG_DIR/9000.log 10 | echo > $TORNADO_LOG_DIR/9001.log 11 | echo > $TORNADO_LOG_DIR/9002.log 12 | echo > $TORNADO_LOG_DIR/9003.log 13 | 14 | rm -f $TORNADO_LOG_DIR/9000.log.* 15 | rm -f $TORNADO_LOG_DIR/9001.log.* 16 | rm -f $TORNADO_LOG_DIR/9002.log.* 17 | rm -f $TORNADO_LOG_DIR/9003.log.* 18 | 19 | rm -rf /data/datika/* -------------------------------------------------------------------------------- /vendor/github.com/gorilla/securecookie/fuzz.go: -------------------------------------------------------------------------------- 1 | // +build gofuzz 2 | 3 | package securecookie 4 | 5 | var hashKey = []byte("very-secret12345") 6 | var blockKey = []byte("a-lot-secret1234") 7 | var s = New(hashKey, blockKey) 8 | 9 | type Cookie struct { 10 | B bool 11 | I int 12 | S string 13 | } 14 | 15 | func Fuzz(data []byte) int { 16 | datas := string(data) 17 | var c Cookie 18 | if err := s.Decode("fuzz", datas, &c); err != nil { 19 | return 0 20 | } 21 | if _, err := s.Encode("fuzz", c); err != nil { 22 | panic(err) 23 | } 24 | return 1 25 | } 26 | -------------------------------------------------------------------------------- /background/monitor/monitor.readme: -------------------------------------------------------------------------------- 1 | http://toutiao.com/i6263427801903268353/ 2 | 3 | go get github.com/uber/go-torch 4 | go get github.com/uber/go-torch 5 | go get github.com/tools/godep 6 | godep restore 7 | git clone https://github.com/brendangregg/FlameGraph.git 8 | 9 | 10 | 到https://github.com/catapult-project/catapult/tree/master/tracing下载trace-viewer工具,执行 11 | 12 | 13 | 14 | go-torch --time=15 --file "torch.svg" --url http://127.0.0.1:5567 15 | 16 | 17 | 18 | gin profile 19 | 20 | sudo env GOPATH=/Users/liuzheng/go/go_path go get github.com/DeanThompson/ginpprof -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/spinner/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Spinner Demos 6 | 7 | 8 | 9 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /static/file_upload/css/jquery.fileupload-noscript.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* 3 | * jQuery File Upload Plugin NoScript CSS 1.2.0 4 | * https://github.com/blueimp/jQuery-File-Upload 5 | * 6 | * Copyright 2013, Sebastian Tschan 7 | * https://blueimp.net 8 | * 9 | * Licensed under the MIT license: 10 | * http://www.opensource.org/licenses/MIT 11 | */ 12 | 13 | .fileinput-button input { 14 | position: static; 15 | opacity: 1; 16 | filter: none; 17 | font-size: inherit; 18 | direction: inherit; 19 | } 20 | .fileinput-button span { 21 | display: none; 22 | } 23 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/button/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Button Demos 6 | 7 | 8 | 9 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /vendor/gopkg.in/redis.v4/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | 4 | services: 5 | - redis-server 6 | 7 | go: 8 | - 1.5 9 | - 1.6 10 | - tip 11 | 12 | matrix: 13 | allow_failures: 14 | - go: tip 15 | 16 | install: 17 | - go get gopkg.in/bsm/ratelimit.v1 18 | - go get github.com/onsi/ginkgo 19 | - go get github.com/onsi/gomega 20 | - go get github.com/garyburd/redigo/redis 21 | - mkdir -p $HOME/gopath/src/gopkg.in 22 | - mv $HOME/gopath/src/github.com/go-redis/redis $HOME/gopath/src/gopkg.in/redis.v4 23 | - cd $HOME/gopath/src/gopkg.in/redis.v4 24 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.tooltip.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery UI Tooltip 1.10.4 3 | * http://jqueryui.com 4 | * 5 | * Copyright 2014 jQuery Foundation and other contributors 6 | * Released under the MIT license. 7 | * http://jquery.org/license 8 | * 9 | * http://api.jqueryui.com/tooltip/#theming 10 | */ 11 | .ui-tooltip { 12 | padding: 8px; 13 | position: absolute; 14 | z-index: 9999; 15 | max-width: 300px; 16 | -webkit-box-shadow: 0 0 5px #aaa; 17 | box-shadow: 0 0 5px #aaa; 18 | } 19 | body .ui-tooltip { 20 | border-width: 2px; 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/astaxie/beego/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package beego provide a MVC framework 3 | beego: an open-source, high-performance, modular, full-stack web framework 4 | 5 | It is used for rapid development of RESTful APIs, web apps and backend services in Go. 6 | beego is inspired by Tornado, Sinatra and Flask with the added benefit of some Go-specific features such as interfaces and struct embedding. 7 | 8 | package main 9 | import "github.com/astaxie/beego" 10 | 11 | func main() { 12 | beego.Run() 13 | } 14 | 15 | more information: http://beego.me 16 | */ 17 | package beego 18 | -------------------------------------------------------------------------------- /vendor/github.com/go-sql-driver/mysql/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ### Issue description 2 | Tell us what should happen and what happens instead 3 | 4 | ### Example code 5 | ```go 6 | If possible, please enter some example code here to reproduce the issue. 7 | ``` 8 | 9 | ### Error log 10 | ``` 11 | If you have an error log, please paste it here. 12 | ``` 13 | 14 | ### Configuration 15 | *Driver version (or git SHA):* 16 | 17 | *Go version:* run `go version` in your console 18 | 19 | *Server version:* E.g. MySQL 5.6, MariaDB 10.0.20 20 | 21 | *Server OS:* E.g. Debian 8.1 (Jessie), Windows 10 22 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/jquery.ui.tooltip.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery UI Tooltip 1.10.4 3 | * http://jqueryui.com 4 | * 5 | * Copyright 2014 jQuery Foundation and other contributors 6 | * Released under the MIT license. 7 | * http://jquery.org/license 8 | * 9 | * http://api.jqueryui.com/tooltip/#theming 10 | */ 11 | .ui-tooltip { 12 | padding: 8px; 13 | position: absolute; 14 | z-index: 9999; 15 | max-width: 300px; 16 | -webkit-box-shadow: 0 0 5px #aaa; 17 | box-shadow: 0 0 5px #aaa; 18 | } 19 | body .ui-tooltip { 20 | border-width: 2px; 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/gin-gonic/gin/render/xml.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Manu Martinez-Almeida. All rights reserved. 2 | // Use of this source code is governed by a MIT style 3 | // license that can be found in the LICENSE file. 4 | 5 | package render 6 | 7 | import ( 8 | "encoding/xml" 9 | "net/http" 10 | ) 11 | 12 | type XML struct { 13 | Data interface{} 14 | } 15 | 16 | var xmlContentType = []string{"application/xml; charset=utf-8"} 17 | 18 | func (r XML) Render(w http.ResponseWriter) error { 19 | writeContentType(w, xmlContentType) 20 | return xml.NewEncoder(w).Encode(r.Data) 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/go-sql-driver/mysql/appengine.go: -------------------------------------------------------------------------------- 1 | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package 2 | // 3 | // Copyright 2013 The Go-MySQL-Driver Authors. All rights reserved. 4 | // 5 | // This Source Code Form is subject to the terms of the Mozilla Public 6 | // License, v. 2.0. If a copy of the MPL was not distributed with this file, 7 | // You can obtain one at http://mozilla.org/MPL/2.0/. 8 | 9 | // +build appengine 10 | 11 | package mysql 12 | 13 | import ( 14 | "appengine/cloudsql" 15 | ) 16 | 17 | func init() { 18 | RegisterDial("cloudsql", cloudsql.Dial) 19 | } 20 | -------------------------------------------------------------------------------- /static/css/vidinfos.css: -------------------------------------------------------------------------------- 1 | #sortable { 2 | list-style: none; 3 | } 4 | #sortable .vid-item { 5 | margin-top:15px; 6 | padding:5px; 7 | float:left; 8 | background-color: #F8F8F8; 9 | } 10 | .vid-delete { 11 | float:right; 12 | } 13 | .vid-item-img { 14 | width:97px; 15 | height:55px; 16 | } 17 | .vid-field { 18 | float:left; 19 | margin-right:5px; 20 | } 21 | .vid-fields { 22 | overflow: none; 23 | } 24 | 25 | .vid-select { 26 | width:95px; 27 | } 28 | 29 | .vid-img-field { 30 | clear:left; 31 | } 32 | .img_div { 33 | clear:both; 34 | /*width:120px;*/ 35 | } -------------------------------------------------------------------------------- /tests/learn/method .go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "fmt" 4 | 5 | type TwoInts struct { 6 | a int 7 | b int 8 | } 9 | 10 | func main() { 11 | two1 := new(TwoInts) 12 | two1.a = 12 13 | two1.b = 10 14 | 15 | fmt.Printf("The sum is: %d\n", two1.AddThem()) 16 | fmt.Printf("Add them to the param: %d\n", two1.AddToParam(20)) 17 | 18 | two2 := TwoInts{3, 4} 19 | fmt.Printf("The sum is: %d\n", two2.AddThem()) 20 | } 21 | 22 | func (tn *TwoInts) AddThem() int { 23 | return tn.a + tn.b 24 | } 25 | 26 | func (tn *TwoInts) AddToParam(param int) int { 27 | return tn.a + tn.b + param 28 | } -------------------------------------------------------------------------------- /api/conf/nginx/lua/install_ngx.sh: -------------------------------------------------------------------------------- 1 | yum install readline-devel pcre-devel openssl-devel 2 | echo '[start install pcre!]' 3 | cd /opt/downloads/ 4 | wget http://sourceforge.net/projects/pcre/files/pcre/8.32/pcre-8.32.tar.gz/download 5 | tar zxvf pcre-8.32.tar.gz 6 | cd pcre-8.32 7 | ./configure 8 | make 9 | make install 10 | cd /lib64 11 | ln -s libpcre.so.0.0.1 libpcre.so.1 12 | ldconfig 13 | 14 | wget http://openresty.org/download/ngx_openresty-1.2.8.6.tar.gz 15 | tar zxf ngx_openresty-1.2.8.6.tar.gz 16 | cd ngx_openresty-1.2.8 17 | ./configure --prefix=/opt/nginx --with-luajit --with-pcre=/opt/downloads/pcre-8.30 --with-pcre-jit -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/dialog/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Dialog Demos 6 | 7 | 8 | 9 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /vendor/github.com/astaxie/beego/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2014 astaxie 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. -------------------------------------------------------------------------------- /static/bootstrap-switch/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | If you want help us to fix bugs or add a extension please use our develop branch 2 | 3 | 4 | 5 | 6 | https://github.com/nostalgiaz/bootstrap-switch/tree/develop 7 | 8 | 9 | First step: 10 | 11 | Please merge your branch develop with nostalgiaz/bootstrap-switch/tree/develop 12 | 13 | 14 | second step: 15 | 16 | Work in the branch develop for fixes 17 | 18 | 19 | third step: 20 | 21 | regularly reviews the branch develop for updates and then merge this with your branch develop 22 | 23 | 24 | fourth step: 25 | 26 | When you're done in your branch send us a PR to merge the two branches 27 | -------------------------------------------------------------------------------- /vendor/github.com/gin-gonic/gin/binding/xml.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Manu Martinez-Almeida. All rights reserved. 2 | // Use of this source code is governed by a MIT style 3 | // license that can be found in the LICENSE file. 4 | 5 | package binding 6 | 7 | import ( 8 | "encoding/xml" 9 | "net/http" 10 | ) 11 | 12 | type xmlBinding struct{} 13 | 14 | func (xmlBinding) Name() string { 15 | return "xml" 16 | } 17 | 18 | func (xmlBinding) Bind(req *http.Request, obj interface{}) error { 19 | decoder := xml.NewDecoder(req.Body) 20 | if err := decoder.Decode(obj); err != nil { 21 | return err 22 | } 23 | return validate(obj) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2011-2016 Canonical Ltd. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /vendor/github.com/gin-gonic/gin/binding/json.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Manu Martinez-Almeida. All rights reserved. 2 | // Use of this source code is governed by a MIT style 3 | // license that can be found in the LICENSE file. 4 | 5 | package binding 6 | 7 | import ( 8 | "encoding/json" 9 | 10 | "net/http" 11 | ) 12 | 13 | type jsonBinding struct{} 14 | 15 | func (jsonBinding) Name() string { 16 | return "json" 17 | } 18 | 19 | func (jsonBinding) Bind(req *http.Request, obj interface{}) error { 20 | decoder := json.NewDecoder(req.Body) 21 | if err := decoder.Decode(obj); err != nil { 22 | return err 23 | } 24 | return validate(obj) 25 | } 26 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/race0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin,!race linux,!race freebsd,!race netbsd openbsd solaris dragonfly 6 | 7 | package unix 8 | 9 | import ( 10 | "unsafe" 11 | ) 12 | 13 | const raceenabled = false 14 | 15 | func raceAcquire(addr unsafe.Pointer) { 16 | } 17 | 18 | func raceReleaseMerge(addr unsafe.Pointer) { 19 | } 20 | 21 | func raceReadRange(addr unsafe.Pointer, len int) { 22 | } 23 | 24 | func raceWriteRange(addr unsafe.Pointer, len int) { 25 | } 26 | -------------------------------------------------------------------------------- /api/bin/logrotate-nginx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # set file path 3 | NGINX_ACCESS_LOG=/data/logs/nginx/access/log.pipe 4 | NGINX_ERROR_LOG=/data/logs/nginx/error/log 5 | NGINX_STATIS_LOG=/data/logs/nginx/statis/log 6 | # rename log 7 | mv $NGINX_ACCESS_LOG $NGINX_ACCESS_LOG.`date -d yesterday +%Y%m%d` 8 | mv $NGINX_ERROR_LOG $NGINX_ERROR_LOG.`date -d yesterday +%Y%m%d` 9 | mv $NGINX_STATIS_LOG $NGINX_STATIS_LOG.`date -d yesterday +%Y%m%d` 10 | touch $NGINX_ACCESS_LOG 11 | touch $NGINX_STATIS_LOG 12 | /etc/init.d/syslog-ng restart 13 | # restart nginx 14 | #[ ! -f /opt/nginx/logs/nginx.pid ] || kill -USR1 $(cat /opt/nginx/logs/nginx.pid) 15 | /etc/init.d/nginx reload 16 | 17 | -------------------------------------------------------------------------------- /api/middleware/contrib/cache/example/example.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "Gin_API_Framework/api/middleware/contrib/cache" 6 | "github.com/gin-gonic/gin" 7 | "time" 8 | ) 9 | 10 | func main() { 11 | r := gin.Default() 12 | 13 | store := cache.NewInMemoryStore(time.Second) 14 | // Cached Page 15 | r.GET("/ping", func(c *gin.Context) { 16 | c.String(200, "pong "+fmt.Sprint(time.Now().Unix())) 17 | }) 18 | 19 | r.GET("/cache_ping", cache.CachePage(store, time.Minute, func(c *gin.Context) { 20 | c.String(200, "pong "+fmt.Sprint(time.Now().Unix())) 21 | })) 22 | 23 | // Listen and Server in 0.0.0.0:8080 24 | r.Run(":8080") 25 | } 26 | -------------------------------------------------------------------------------- /static/file_upload/cors/result.html: -------------------------------------------------------------------------------- 1 | 2 | 14 | 15 | 16 | 17 | jQuery Iframe Transport Plugin Redirect Page 18 | 19 | 20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-highlight.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | (function(t){t.effects.effect.highlight=function(e,i){var s=t(this),n=["backgroundImage","backgroundColor","opacity"],a=t.effects.setMode(s,e.mode||"show"),o={backgroundColor:s.css("backgroundColor")};"hide"===a&&(o.opacity=0),t.effects.save(s,n),s.show().css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(o,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===a&&s.hide(),t.effects.restore(s,n),i()}})}})(jQuery); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/tabs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Tabs Demos 6 | 7 | 8 | 9 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/accordion/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Accordion Demos 6 | 7 | 8 | 9 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-pulsate.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | (function(t){t.effects.effect.pulsate=function(e,i){var s,n=t(this),a=t.effects.setMode(n,e.mode||"show"),o="show"===a,r="hide"===a,l=o||"hide"===a,h=2*(e.times||5)+(l?1:0),c=e.duration/h,u=0,d=n.queue(),p=d.length;for((o||!n.is(":visible"))&&(n.css("opacity",0).show(),u=1),s=1;h>s;s++)n.animate({opacity:u},c,e.easing),u=1-u;n.animate({opacity:u},c,e.easing),n.queue(function(){r&&n.hide(),i()}),p>1&&d.splice.apply(d,[1,0].concat(d.splice(p,h+1))),n.dequeue()}})(jQuery); -------------------------------------------------------------------------------- /vendor/github.com/gin-gonic/gin/render/redirect.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Manu Martinez-Almeida. All rights reserved. 2 | // Use of this source code is governed by a MIT style 3 | // license that can be found in the LICENSE file. 4 | 5 | package render 6 | 7 | import ( 8 | "fmt" 9 | "net/http" 10 | ) 11 | 12 | type Redirect struct { 13 | Code int 14 | Request *http.Request 15 | Location string 16 | } 17 | 18 | func (r Redirect) Render(w http.ResponseWriter) error { 19 | if (r.Code < 300 || r.Code > 308) && r.Code != 201 { 20 | panic(fmt.Sprintf("Cannot redirect with status code %d", r.Code)) 21 | } 22 | http.Redirect(w, r.Request, r.Location, r.Code) 23 | return nil 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/gin-gonic/gin/render/yaml.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Manu Martinez-Almeida. All rights reserved. 2 | // Use of this source code is governed by a MIT style 3 | // license that can be found in the LICENSE file. 4 | 5 | package render 6 | 7 | import ( 8 | "net/http" 9 | 10 | "gopkg.in/yaml.v2" 11 | ) 12 | 13 | type YAML struct { 14 | Data interface{} 15 | } 16 | 17 | var yamlContentType = []string{"application/x-yaml; charset=utf-8"} 18 | 19 | func (r YAML) Render(w http.ResponseWriter) error { 20 | writeContentType(w, yamlContentType) 21 | 22 | bytes, err := yaml.Marshal(r.Data) 23 | if err != nil { 24 | return err 25 | } 26 | 27 | w.Write(bytes) 28 | return nil 29 | } 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/env_unix.go: -------------------------------------------------------------------------------- 1 | // Copyright 2010 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | // Unix environment variables. 8 | 9 | package unix 10 | 11 | import "syscall" 12 | 13 | func Getenv(key string) (value string, found bool) { 14 | return syscall.Getenv(key) 15 | } 16 | 17 | func Setenv(key, value string) error { 18 | return syscall.Setenv(key, value) 19 | } 20 | 21 | func Clearenv() { 22 | syscall.Clearenv() 23 | } 24 | 25 | func Environ() []string { 26 | return syscall.Environ() 27 | } 28 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/tooltip/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Tooltip Demos 6 | 7 | 8 | 9 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /vendor/github.com/Sirupsen/logrus/terminal_notwindows.go: -------------------------------------------------------------------------------- 1 | // Based on ssh/terminal: 2 | // Copyright 2011 The Go Authors. All rights reserved. 3 | // Use of this source code is governed by a BSD-style 4 | // license that can be found in the LICENSE file. 5 | 6 | // +build linux darwin freebsd openbsd netbsd dragonfly 7 | 8 | package logrus 9 | 10 | import ( 11 | "syscall" 12 | "unsafe" 13 | ) 14 | 15 | // IsTerminal returns true if stderr's file descriptor is a terminal. 16 | func IsTerminal() bool { 17 | fd := syscall.Stderr 18 | var termios Termios 19 | _, _, err := syscall.Syscall6(syscall.SYS_IOCTL, uintptr(fd), ioctlReadTermios, uintptr(unsafe.Pointer(&termios)), 0, 0, 0) 20 | return err == 0 21 | } 22 | -------------------------------------------------------------------------------- /web/web-controllers/templates/itemedit/js.tpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /api/middleware/contrib/sessions/examples/example_cookie.go: -------------------------------------------------------------------------------- 1 | package maincookie 2 | 3 | import ( 4 | "Gin_API_Framework/api/middleware/contrib/sessions" 5 | "github.com/gin-gonic/gin" 6 | ) 7 | 8 | func main() { 9 | r := gin.Default() 10 | store := sessions.NewCookieStore([]byte("secret")) 11 | r.Use(sessions.Sessions("mysession", store)) 12 | 13 | r.GET("/incr", func(c *gin.Context) { 14 | session := sessions.Default(c) 15 | var count int 16 | v := session.Get("count") 17 | if v == nil { 18 | count = 0 19 | } else { 20 | count = v.(int) 21 | count += 1 22 | } 23 | session.Set("count", count) 24 | session.Save() 25 | c.JSON(200, gin.H{"count": count}) 26 | }) 27 | r.Run(":8000") 28 | } 29 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/droppable/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Droppable Demos 6 | 7 | 8 | 9 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_linux_arm64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build linux 6 | // +build arm64 7 | // +build !gccgo 8 | 9 | #include "textflag.h" 10 | 11 | // Just jump to package syscall's implementation for all these functions. 12 | // The runtime may know about them. 13 | 14 | TEXT ·Syscall(SB),NOSPLIT,$0-56 15 | B syscall·Syscall(SB) 16 | 17 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 18 | B syscall·Syscall6(SB) 19 | 20 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 21 | B syscall·RawSyscall(SB) 22 | 23 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 24 | B syscall·RawSyscall6(SB) 25 | -------------------------------------------------------------------------------- /static/bootstrap-datetimepicker-master/js/locales/bootstrap-datetimepicker.zh-CN.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Simplified Chinese translation for bootstrap-datetimepicker 3 | * Yuan Cheung 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['zh-CN'] = { 7 | days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"], 8 | daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"], 9 | daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"], 10 | months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], 11 | monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], 12 | today: "今日", 13 | suffix: [], 14 | meridiem: [] 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.accordion.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | .ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin-top:2px;padding:.5em .5em .5em .7em;min-height:0}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-noicons{padding-left:.7em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto} -------------------------------------------------------------------------------- /vendor/github.com/Sirupsen/logrus/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package logrus is a structured logger for Go, completely API compatible with the standard library logger. 3 | 4 | 5 | The simplest way to use Logrus is simply the package-level exported logger: 6 | 7 | package main 8 | 9 | import ( 10 | log "github.com/Sirupsen/logrus" 11 | ) 12 | 13 | func main() { 14 | log.WithFields(log.Fields{ 15 | "animal": "walrus", 16 | "number": 1, 17 | "size": 10, 18 | }).Info("A walrus appears") 19 | } 20 | 21 | Output: 22 | time="2015-09-07T08:48:33Z" level=info msg="A walrus appears" animal=walrus number=1 size=10 23 | 24 | For a full guide visit https://github.com/Sirupsen/logrus 25 | */ 26 | package logrus 27 | -------------------------------------------------------------------------------- /vendor/github.com/go-sql-driver/mysql/result.go: -------------------------------------------------------------------------------- 1 | // Go MySQL Driver - A MySQL-Driver for Go's database/sql package 2 | // 3 | // Copyright 2012 The Go-MySQL-Driver Authors. All rights reserved. 4 | // 5 | // This Source Code Form is subject to the terms of the Mozilla Public 6 | // License, v. 2.0. If a copy of the MPL was not distributed with this file, 7 | // You can obtain one at http://mozilla.org/MPL/2.0/. 8 | 9 | package mysql 10 | 11 | type mysqlResult struct { 12 | affectedRows int64 13 | insertId int64 14 | } 15 | 16 | func (res *mysqlResult) LastInsertId() (int64, error) { 17 | return res.insertId, nil 18 | } 19 | 20 | func (res *mysqlResult) RowsAffected() (int64, error) { 21 | return res.affectedRows, nil 22 | } 23 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/jquery.ui.accordion.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | .ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin-top:2px;padding:.5em .5em .5em .7em;min-height:0}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-noicons{padding-left:.7em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto} -------------------------------------------------------------------------------- /api/middleware/contrib/sessions/cookie_test.go: -------------------------------------------------------------------------------- 1 | package sessions 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | var newCookieStore = func(_ *testing.T) Store { 8 | store := NewCookieStore([]byte("secret")) 9 | return store 10 | } 11 | 12 | func TestCookie_SessionGetSet(t *testing.T) { 13 | sessionGetSet(t, newCookieStore) 14 | } 15 | 16 | func TestCookie_SessionDeleteKey(t *testing.T) { 17 | sessionDeleteKey(t, newCookieStore) 18 | } 19 | 20 | func TestCookie_SessionFlashes(t *testing.T) { 21 | sessionFlashes(t, newCookieStore) 22 | } 23 | 24 | func TestCookie_SessionClear(t *testing.T) { 25 | sessionClear(t, newCookieStore) 26 | } 27 | 28 | func TestCookie_SessionOptions(t *testing.T) { 29 | sessionOptions(t, newCookieStore) 30 | } 31 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-transfer.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | (function(t){t.effects.effect.transfer=function(e,i){var s=t(this),n=t(e.to),a="fixed"===n.css("position"),o=t("body"),r=a?o.scrollTop():0,l=a?o.scrollLeft():0,h=n.offset(),c={top:h.top-r,left:h.left-l,height:n.innerHeight(),width:n.innerWidth()},u=s.offset(),d=t("
").appendTo(document.body).addClass(e.className).css({top:u.top-r,left:u.left-l,height:s.innerHeight(),width:s.innerWidth(),position:a?"fixed":"absolute"}).animate(c,e.duration,e.easing,function(){d.remove(),i()})}})(jQuery); -------------------------------------------------------------------------------- /vendor/github.com/gin-gonic/gin/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | go: 4 | - 1.4 5 | - 1.5 6 | - 1.6 7 | - tip 8 | 9 | script: 10 | - go get golang.org/x/tools/cmd/cover 11 | - go get github.com/mattn/goveralls 12 | - go test -v -covermode=count -coverprofile=coverage.out 13 | 14 | after_success: 15 | - goveralls -coverprofile=coverage.out -service=travis-ci -repotoken yFj7FrCeddvBzUaaCyG33jCLfWXeb93eA 16 | 17 | notifications: 18 | webhooks: 19 | urls: 20 | - https://webhooks.gitter.im/e/acc2c57482e94b44f557 21 | on_success: change # options: [always|never|change] default: always 22 | on_failure: always # options: [always|never|change] default: always 23 | on_start: false # default: false 24 | -------------------------------------------------------------------------------- /api/controllers/templates/index.tmpl: -------------------------------------------------------------------------------- 1 | 2 |

3 | 4 | {{if .title }} T1 {{else}} T0 {{end}} 5 | 6 | {{ range $key, $value := .api }} 7 |
  • {{ $key }}
  • 8 | 9 | 10 | 11 | {{ range $akey , $aapi := $value }} 12 | 13 | 14 |
  • {{ index $aapi "path" }}
  • 15 | 16 | {{ range $ii,$oper := index $aapi "operations" }} 17 | 18 | {{ index $oper "httpMethod" }} 19 | 20 | {{ end }} 21 | 22 | 23 | {{ end }} 24 | {{ end }} 25 | 26 | 27 |

    28 | 29 | -------------------------------------------------------------------------------- /api/gen_doc.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "log" 6 | "path" 7 | "runtime" 8 | "os" 9 | 10 | _ "github.com/gin-gonic/gin" 11 | "Gin_API_Framework/api/routers" 12 | _ "Gin_API_Framework/models" 13 | _ "Gin_API_Framework/api/docs" 14 | //"api_project/controllers" 15 | _ "github.com/astaxie/beego" 16 | ) 17 | 18 | 19 | func callerSourcePath() string { 20 | _, callerPath, _, _ := runtime.Caller(1) 21 | return path.Dir(callerPath) 22 | } 23 | 24 | func main() { 25 | fmt.Println("[Doc Gen...]") 26 | curpath := callerSourcePath() 27 | fmt.Println("[curpath]",curpath) 28 | routers.GenerateDocs(curpath) 29 | log.Println("doc generated...") 30 | os.Exit(0) 31 | } 32 | 33 | -------------------------------------------------------------------------------- /api/middleware/contrib/sessions/examples/example_redis.go: -------------------------------------------------------------------------------- 1 | package mainredis 2 | 3 | import ( 4 | "Gin_API_Framework/api/middleware/contrib/sessions" 5 | "github.com/gin-gonic/gin" 6 | ) 7 | 8 | func main() { 9 | r := gin.Default() 10 | store, _ := sessions.NewRedisStore(10, "tcp", "localhost:6379", "", []byte("secret")) 11 | r.Use(sessions.Sessions("mysession", store)) 12 | 13 | r.GET("/incr", func(c *gin.Context) { 14 | session := sessions.Default(c) 15 | var count int 16 | v := session.Get("count") 17 | if v == nil { 18 | count = 0 19 | } else { 20 | count = v.(int) 21 | count += 1 22 | } 23 | session.Set("count", count) 24 | session.Save() 25 | c.JSON(200, gin.H{"count": count}) 26 | }) 27 | r.Run(":8000") 28 | } 29 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/str.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | package unix 8 | 9 | func itoa(val int) string { // do it here rather than with fmt to avoid dependency 10 | if val < 0 { 11 | return "-" + uitoa(uint(-val)) 12 | } 13 | return uitoa(uint(val)) 14 | } 15 | 16 | func uitoa(val uint) string { 17 | var buf [32]byte // big enough for int64 18 | i := len(buf) - 1 19 | for val >= 10 { 20 | buf[i] = byte(val%10 + '0') 21 | i-- 22 | val /= 10 23 | } 24 | buf[i] = byte(val + '0') 25 | return string(buf[i:]) 26 | } 27 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-fade.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery UI Effects Fade 1.10.4 3 | * http://jqueryui.com 4 | * 5 | * Copyright 2014 jQuery Foundation and other contributors 6 | * Released under the MIT license. 7 | * http://jquery.org/license 8 | * 9 | * http://api.jqueryui.com/fade-effect/ 10 | * 11 | * Depends: 12 | * jquery.ui.effect.js 13 | */ 14 | (function( $, undefined ) { 15 | 16 | $.effects.effect.fade = function( o, done ) { 17 | var el = $( this ), 18 | mode = $.effects.setMode( el, o.mode || "toggle" ); 19 | 20 | el.animate({ 21 | opacity: mode 22 | }, { 23 | queue: false, 24 | duration: o.duration, 25 | easing: o.easing, 26 | complete: done 27 | }); 28 | }; 29 | 30 | })( jQuery ); 31 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ko.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.ko={closeText:"닫기",prevText:"이전달",nextText:"다음달",currentText:"오늘",monthNames:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],monthNamesShort:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],dayNames:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],dayNamesShort:["일","월","화","수","목","금","토"],dayNamesMin:["일","월","화","수","목","금","토"],weekHeader:"Wk",dateFormat:"yy-mm-dd",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"년"},t.datepicker.setDefaults(t.datepicker.regional.ko)}); -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/race.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin,race linux,race freebsd,race 6 | 7 | package unix 8 | 9 | import ( 10 | "runtime" 11 | "unsafe" 12 | ) 13 | 14 | const raceenabled = true 15 | 16 | func raceAcquire(addr unsafe.Pointer) { 17 | runtime.RaceAcquire(addr) 18 | } 19 | 20 | func raceReleaseMerge(addr unsafe.Pointer) { 21 | runtime.RaceReleaseMerge(addr) 22 | } 23 | 24 | func raceReadRange(addr unsafe.Pointer, len int) { 25 | runtime.RaceReadRange(addr, len) 26 | } 27 | 28 | func raceWriteRange(addr unsafe.Pointer, len int) { 29 | runtime.RaceWriteRange(addr, len) 30 | } 31 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ja.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.ja={closeText:"閉じる",prevText:"<前",nextText:"次>",currentText:"今日",monthNames:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],monthNamesShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayNames:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],dayNamesShort:["日","月","火","水","木","金","土"],dayNamesMin:["日","月","火","水","木","金","土"],weekHeader:"週",dateFormat:"yy/mm/dd",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},t.datepicker.setDefaults(t.datepicker.regional.ja)}); -------------------------------------------------------------------------------- /database/migrations/20160729_204932_init_db.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "github.com/astaxie/beego/migration" 5 | ) 6 | 7 | // DO NOT MODIFY 8 | type InitDb_20160729_204932 struct { 9 | migration.Migration 10 | } 11 | 12 | //bee migrate -driver='mysql' -conn='root:@tcp(127.0.0.1:3306)/go_platform' 13 | 14 | // DO NOT MODIFY 15 | func init() { 16 | m := &InitDb_20160729_204932{} 17 | m.Created = "20160729_204932" 18 | migration.Register("InitDb_20160729_204932", m) 19 | } 20 | 21 | // Run the migrations 22 | func (m *InitDb_20160729_204932) Up() { 23 | // use m.SQL("CREATE TABLE ...") to make schema update 24 | 25 | } 26 | 27 | // Reverse the migrations 28 | func (m *InitDb_20160729_204932) Down() { 29 | // use m.SQL("DROP TABLE ...") to reverse schema update 30 | 31 | } 32 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_linux_s390x.s: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build s390x 6 | // +build linux 7 | // +build !gccgo 8 | 9 | #include "textflag.h" 10 | 11 | // 12 | // System calls for s390x, Linux 13 | // 14 | 15 | // Just jump to package syscall's implementation for all these functions. 16 | // The runtime may know about them. 17 | 18 | TEXT ·Syscall(SB),NOSPLIT,$0-56 19 | BR syscall·Syscall(SB) 20 | 21 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 22 | BR syscall·Syscall6(SB) 23 | 24 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 25 | BR syscall·RawSyscall(SB) 26 | 27 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 28 | BR syscall·RawSyscall6(SB) 29 | -------------------------------------------------------------------------------- /background/back_hellowork.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "Gin_API_Framework/utils/redis_model" 5 | _"encoding/json" 6 | "log" 7 | ) 8 | 9 | 10 | func sync_hello(dic map[string]interface{}) { 11 | 12 | log.Println("[sync_hello]...") 13 | log.Println("[recive dict]",dic) 14 | 15 | for key,value:=range dic { 16 | log.Println(key,value) 17 | } 18 | 19 | } 20 | 21 | func aysnc_do(queue *redis_model.RedisQueue) { 22 | value := map[string]interface{}{} 23 | value["hello"] = 1 24 | value["world"] = 2 25 | 26 | queue.ASync(value) 27 | } 28 | 29 | 30 | func main(){ 31 | 32 | queue := redis_model.NewRedisQueue("channel.test") 33 | aysnc_do(queue) 34 | 35 | //queue do work 36 | queue.Do(sync_hello) 37 | 38 | } 39 | -------------------------------------------------------------------------------- /static/bootstrap-switch/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "nostalgiaz/bootstrap-switch", 3 | "description" : "Unofficial bootstrap switch", 4 | "type": "component", 5 | "keywords": [ 6 | "JavaScript" 7 | ], 8 | "homepage": "http://www.larentis.eu/switch/", 9 | "license": "Apache License, Version 2.0", 10 | "authors": [ 11 | { 12 | "name": "Mattia Larentis", 13 | "name": "Peter Stein", 14 | "homepage": "http://www.larentis.eu/switch/" 15 | } 16 | ], 17 | "require": { 18 | }, 19 | "ignore": [ 20 | "examples" 21 | ], 22 | "extra": { 23 | "component": { 24 | "scripts": [ 25 | "static/js/bootstrap-switch.js" 26 | ], 27 | "shim": { 28 | "exports": "BootstrapSwitch" 29 | } 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-zh-CN.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(e){e.datepicker.regional["zh-CN"]={closeText:"关闭",prevText:"<上月",nextText:"下月>",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},e.datepicker.setDefaults(e.datepicker.regional["zh-CN"])}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-zh-HK.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(e){e.datepicker.regional["zh-HK"]={closeText:"關閉",prevText:"<上月",nextText:"下月>",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"dd-mm-yy",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},e.datepicker.setDefaults(e.datepicker.regional["zh-HK"])}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-zh-TW.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(e){e.datepicker.regional["zh-TW"]={closeText:"關閉",prevText:"<上月",nextText:"下月>",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"yy/mm/dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},e.datepicker.setDefaults(e.datepicker.regional["zh-TW"])}); -------------------------------------------------------------------------------- /vendor/github.com/Sirupsen/logrus/terminal_windows.go: -------------------------------------------------------------------------------- 1 | // Based on ssh/terminal: 2 | // Copyright 2011 The Go Authors. All rights reserved. 3 | // Use of this source code is governed by a BSD-style 4 | // license that can be found in the LICENSE file. 5 | 6 | // +build windows 7 | 8 | package logrus 9 | 10 | import ( 11 | "syscall" 12 | "unsafe" 13 | ) 14 | 15 | var kernel32 = syscall.NewLazyDLL("kernel32.dll") 16 | 17 | var ( 18 | procGetConsoleMode = kernel32.NewProc("GetConsoleMode") 19 | ) 20 | 21 | // IsTerminal returns true if stderr's file descriptor is a terminal. 22 | func IsTerminal() bool { 23 | fd := syscall.Stderr 24 | var st uint32 25 | r, _, e := syscall.Syscall(procGetConsoleMode.Addr(), 2, uintptr(fd), uintptr(unsafe.Pointer(&st)), 0) 26 | return r != 0 && e == 0 27 | } 28 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build linux 6 | // +build ppc64 ppc64le 7 | // +build !gccgo 8 | 9 | #include "textflag.h" 10 | 11 | // 12 | // System calls for ppc64, Linux 13 | // 14 | 15 | // Just jump to package syscall's implementation for all these functions. 16 | // The runtime may know about them. 17 | 18 | TEXT ·Syscall(SB),NOSPLIT,$0-56 19 | BR syscall·Syscall(SB) 20 | 21 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 22 | BR syscall·Syscall6(SB) 23 | 24 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 25 | BR syscall·RawSyscall(SB) 26 | 27 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 28 | BR syscall·RawSyscall6(SB) 29 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-clip.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | (function(t){t.effects.effect.clip=function(e,i){var s,n,a,o=t(this),r=["position","top","bottom","left","right","height","width"],l=t.effects.setMode(o,e.mode||"hide"),h="show"===l,c=e.direction||"vertical",u="vertical"===c,d=u?"height":"width",p=u?"top":"left",f={};t.effects.save(o,r),o.show(),s=t.effects.createWrapper(o).css({overflow:"hidden"}),n="IMG"===o[0].tagName?s:o,a=n[d](),h&&(n.css(d,0),n.css(p,a/2)),f[d]=h?a:0,f[p]=h?0:a/2,n.animate(f,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){h||o.hide(),t.effects.restore(o,r),t.effects.removeWrapper(o),i()}})}})(jQuery); -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_linux_arm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System calls for arm, Linux 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-28 17 | B syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 20 | B syscall·Syscall6(SB) 21 | 22 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 23 | B syscall·RawSyscall(SB) 24 | 25 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 26 | B syscall·RawSyscall6(SB) 27 | 28 | TEXT ·seek(SB),NOSPLIT,$0-32 29 | B syscall·seek(SB) 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_linux_mips64x.s: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build linux 6 | // +build mips64 mips64le 7 | // +build !gccgo 8 | 9 | #include "textflag.h" 10 | 11 | // 12 | // System calls for mips64, Linux 13 | // 14 | 15 | // Just jump to package syscall's implementation for all these functions. 16 | // The runtime may know about them. 17 | 18 | TEXT ·Syscall(SB),NOSPLIT,$0-56 19 | JMP syscall·Syscall(SB) 20 | 21 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 22 | JMP syscall·Syscall6(SB) 23 | 24 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 25 | JMP syscall·RawSyscall(SB) 26 | 27 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 28 | JMP syscall·RawSyscall6(SB) 29 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.progressbar.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery UI Progressbar 1.10.4 3 | * http://jqueryui.com 4 | * 5 | * Copyright 2014 jQuery Foundation and other contributors 6 | * Released under the MIT license. 7 | * http://jquery.org/license 8 | * 9 | * http://api.jqueryui.com/progressbar/#theming 10 | */ 11 | .ui-progressbar { 12 | height: 2em; 13 | text-align: left; 14 | overflow: hidden; 15 | } 16 | .ui-progressbar .ui-progressbar-value { 17 | margin: -1px; 18 | height: 100%; 19 | } 20 | .ui-progressbar .ui-progressbar-overlay { 21 | background: url("images/animated-overlay.gif"); 22 | height: 100%; 23 | filter: alpha(opacity=25); 24 | opacity: 0.25; 25 | } 26 | .ui-progressbar-indeterminate .ui-progressbar-value { 27 | background-image: none; 28 | } 29 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/jquery.ui.progressbar.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery UI Progressbar 1.10.4 3 | * http://jqueryui.com 4 | * 5 | * Copyright 2014 jQuery Foundation and other contributors 6 | * Released under the MIT license. 7 | * http://jquery.org/license 8 | * 9 | * http://api.jqueryui.com/progressbar/#theming 10 | */ 11 | .ui-progressbar { 12 | height: 2em; 13 | text-align: left; 14 | overflow: hidden; 15 | } 16 | .ui-progressbar .ui-progressbar-value { 17 | margin: -1px; 18 | height: 100%; 19 | } 20 | .ui-progressbar .ui-progressbar-overlay { 21 | background: url("images/animated-overlay.gif"); 22 | height: 100%; 23 | filter: alpha(opacity=25); 24 | opacity: 0.25; 25 | } 26 | .ui-progressbar-indeterminate .ui-progressbar-value { 27 | background-image: none; 28 | } 29 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-fa.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.fa={closeText:"بستن",prevText:"<قبلی",nextText:"بعدی>",currentText:"امروز",monthNames:["فروردين","ارديبهشت","خرداد","تير","مرداد","شهريور","مهر","آبان","آذر","دی","بهمن","اسفند"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["يکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],dayNamesShort:["ی","د","س","چ","پ","ج","ش"],dayNamesMin:["ی","د","س","چ","پ","ج","ش"],weekHeader:"هف",dateFormat:"yy/mm/dd",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.fa)}); -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_freebsd_arm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for ARM, FreeBSD 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-28 17 | B syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 20 | B syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 23 | B syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 26 | B syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 29 | B syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_netbsd_arm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for ARM, NetBSD 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-28 17 | B syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 20 | B syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 23 | B syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 26 | B syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 29 | B syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_darwin_386.s: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for 386, Darwin 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-28 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_freebsd_386.s: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for 386, FreeBSD 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-28 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_netbsd_386.s: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for 386, NetBSD 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-28 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_openbsd_386.s: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for 386, OpenBSD 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-28 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/sortable/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Sortable Demos 6 | 7 | 8 | 9 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_darwin_amd64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for AMD64, Darwin 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-56 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_freebsd_amd64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for AMD64, FreeBSD 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-56 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_linux_amd64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System calls for AMD64, Linux 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-56 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 23 | JMP syscall·RawSyscall(SB) 24 | 25 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 26 | JMP syscall·RawSyscall6(SB) 27 | 28 | TEXT ·gettimeofday(SB),NOSPLIT,$0-16 29 | JMP syscall·gettimeofday(SB) 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_netbsd_amd64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for AMD64, NetBSD 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-56 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_openbsd_amd64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for AMD64, OpenBSD 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-56 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for AMD64, DragonFly 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-64 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-88 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-112 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-64 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-88 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /vendor/github.com/gin-gonic/gin/render/text.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Manu Martinez-Almeida. All rights reserved. 2 | // Use of this source code is governed by a MIT style 3 | // license that can be found in the LICENSE file. 4 | 5 | package render 6 | 7 | import ( 8 | "fmt" 9 | "io" 10 | "net/http" 11 | ) 12 | 13 | type String struct { 14 | Format string 15 | Data []interface{} 16 | } 17 | 18 | var plainContentType = []string{"text/plain; charset=utf-8"} 19 | 20 | func (r String) Render(w http.ResponseWriter) error { 21 | WriteString(w, r.Format, r.Data) 22 | return nil 23 | } 24 | 25 | func WriteString(w http.ResponseWriter, format string, data []interface{}) { 26 | writeContentType(w, plainContentType) 27 | 28 | if len(data) > 0 { 29 | fmt.Fprintf(w, format, data...) 30 | } else { 31 | io.WriteString(w, format) 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_darwin_arm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | // +build arm,darwin 7 | 8 | #include "textflag.h" 9 | 10 | // 11 | // System call support for ARM, Darwin 12 | // 13 | 14 | // Just jump to package syscall's implementation for all these functions. 15 | // The runtime may know about them. 16 | 17 | TEXT ·Syscall(SB),NOSPLIT,$0-28 18 | B syscall·Syscall(SB) 19 | 20 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 21 | B syscall·Syscall6(SB) 22 | 23 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 24 | B syscall·Syscall9(SB) 25 | 26 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 27 | B syscall·RawSyscall(SB) 28 | 29 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 30 | B syscall·RawSyscall6(SB) 31 | -------------------------------------------------------------------------------- /web/web-controllers/templates/layout/layout.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{template "layout/layout_section/header.html" .}} 5 | {{.HtmlHeadExtend}} 6 | 7 | 8 | 9 | {{template "layout/layout_section/nav.html" .}} 10 |
    11 |
    12 | {{.LayoutContent}} 13 | {{template "layout/layout_section/sidebar.html" .}} 14 |
    15 | {{template "layout/layout_section/footer.html" .}} 16 |
    17 | 18 | 19 | 20 | 21 | {{.JsFileExtend}} 22 | 23 | -------------------------------------------------------------------------------- /static/file_upload/server/php/files/.htaccess: -------------------------------------------------------------------------------- 1 | # The following directives force the content-type application/octet-stream 2 | # and force browsers to display a download dialog for non-image files. 3 | # This prevents the execution of script files in the context of the website: 4 | ForceType application/octet-stream 5 | Header set Content-Disposition attachment 6 | 7 | ForceType none 8 | Header unset Content-Disposition 9 | 10 | 11 | # The following directive prevents browsers from MIME-sniffing the content-type. 12 | # This is an important complement to the ForceType directive above: 13 | Header set X-Content-Type-Options nosniff 14 | 15 | # Uncomment the following lines to prevent unauthorized download of files: 16 | #AuthName "Authorization required" 17 | #AuthType Basic 18 | #require valid-user 19 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-slide.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | (function(t){t.effects.effect.slide=function(e,i){var s,n=t(this),a=["position","top","bottom","left","right","width","height"],o=t.effects.setMode(n,e.mode||"show"),r="show"===o,l=e.direction||"left",h="up"===l||"down"===l?"top":"left",c="up"===l||"left"===l,u={};t.effects.save(n,a),n.show(),s=e.distance||n["top"===h?"outerHeight":"outerWidth"](!0),t.effects.createWrapper(n).css({overflow:"hidden"}),r&&n.css(h,c?isNaN(s)?"-"+s:-s:s),u[h]=(r?c?"+=":"-=":c?"-=":"+=")+s,n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===o&&n.hide(),t.effects.restore(n,a),t.effects.removeWrapper(n),i()}})}})(jQuery); -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/bluetooth_linux.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Bluetooth sockets and messages 6 | 7 | package unix 8 | 9 | // Bluetooth Protocols 10 | const ( 11 | BTPROTO_L2CAP = 0 12 | BTPROTO_HCI = 1 13 | BTPROTO_SCO = 2 14 | BTPROTO_RFCOMM = 3 15 | BTPROTO_BNEP = 4 16 | BTPROTO_CMTP = 5 17 | BTPROTO_HIDP = 6 18 | BTPROTO_AVDTP = 7 19 | ) 20 | 21 | const ( 22 | HCI_CHANNEL_RAW = 0 23 | HCI_CHANNEL_USER = 1 24 | HCI_CHANNEL_MONITOR = 2 25 | HCI_CHANNEL_CONTROL = 3 26 | ) 27 | 28 | // Socketoption Level 29 | const ( 30 | SOL_BLUETOOTH = 0x112 31 | SOL_HCI = 0x0 32 | SOL_L2CAP = 0x6 33 | SOL_RFCOMM = 0x12 34 | SOL_SCO = 0x11 35 | ) 36 | -------------------------------------------------------------------------------- /static/file_upload/css/jquery.fileupload.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* 3 | * jQuery File Upload Plugin CSS 1.3.0 4 | * https://github.com/blueimp/jQuery-File-Upload 5 | * 6 | * Copyright 2013, Sebastian Tschan 7 | * https://blueimp.net 8 | * 9 | * Licensed under the MIT license: 10 | * http://www.opensource.org/licenses/MIT 11 | */ 12 | 13 | .fileinput-button { 14 | position: relative; 15 | overflow: hidden; 16 | } 17 | .fileinput-button input { 18 | position: absolute; 19 | top: 0; 20 | right: 0; 21 | margin: 0; 22 | opacity: 0; 23 | -ms-filter: 'alpha(opacity=0)'; 24 | font-size: 200px; 25 | direction: ltr; 26 | cursor: pointer; 27 | } 28 | 29 | /* Fixes for IE < 8 */ 30 | @media screen\9 { 31 | .fileinput-button input { 32 | filter: alpha(opacity=0); 33 | font-size: 100%; 34 | height: 100%; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-he.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.he={closeText:"סגור",prevText:"<הקודם",nextText:"הבא>",currentText:"היום",monthNames:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],monthNamesShort:["ינו","פבר","מרץ","אפר","מאי","יוני","יולי","אוג","ספט","אוק","נוב","דצמ"],dayNames:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת"],dayNamesShort:["א'","ב'","ג'","ד'","ה'","ו'","שבת"],dayNamesMin:["א'","ב'","ג'","ד'","ה'","ו'","שבת"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.he)}); -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_darwin_arm64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | // +build arm64,darwin 7 | 8 | #include "textflag.h" 9 | 10 | // 11 | // System call support for AMD64, Darwin 12 | // 13 | 14 | // Just jump to package syscall's implementation for all these functions. 15 | // The runtime may know about them. 16 | 17 | TEXT ·Syscall(SB),NOSPLIT,$0-56 18 | B syscall·Syscall(SB) 19 | 20 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 21 | B syscall·Syscall6(SB) 22 | 23 | TEXT ·Syscall9(SB),NOSPLIT,$0-104 24 | B syscall·Syscall9(SB) 25 | 26 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 27 | B syscall·RawSyscall(SB) 28 | 29 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 30 | B syscall·RawSyscall6(SB) 31 | -------------------------------------------------------------------------------- /api/middleware/contrib/sessions/redis_test.go: -------------------------------------------------------------------------------- 1 | package sessions 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | const redisTestServer = "localhost:6379" 8 | 9 | var newRedisStore = func(_ *testing.T) Store { 10 | store, err := NewRedisStore(10, "tcp", redisTestServer, "", []byte("secret")) 11 | if err != nil { 12 | panic(err) 13 | } 14 | return store 15 | } 16 | 17 | func TestRedis_SessionGetSet(t *testing.T) { 18 | sessionGetSet(t, newRedisStore) 19 | } 20 | 21 | func TestRedis_SessionDeleteKey(t *testing.T) { 22 | sessionDeleteKey(t, newRedisStore) 23 | } 24 | 25 | func TestRedis_SessionFlashes(t *testing.T) { 26 | sessionFlashes(t, newRedisStore) 27 | } 28 | 29 | func TestRedis_SessionClear(t *testing.T) { 30 | sessionClear(t, newRedisStore) 31 | } 32 | 33 | func TestRedis_SessionOptions(t *testing.T) { 34 | sessionOptions(t, newRedisStore) 35 | } 36 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-tr.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(e){e.datepicker.regional.tr={closeText:"kapat",prevText:"<geri",nextText:"ileri>",currentText:"bugün",monthNames:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],monthNamesShort:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],dayNames:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],dayNamesShort:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],dayNamesMin:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],weekHeader:"Hf",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.tr)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sr.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(e){e.datepicker.regional.sr={closeText:"Затвори",prevText:"<",nextText:">",currentText:"Данас",monthNames:["Јануар","Фебруар","Март","Април","Мај","Јун","Јул","Август","Септембар","Октобар","Новембар","Децембар"],monthNamesShort:["Јан","Феб","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Нов","Дец"],dayNames:["Недеља","Понедељак","Уторак","Среда","Четвртак","Петак","Субота"],dayNamesShort:["Нед","Пон","Уто","Сре","Чет","Пет","Суб"],dayNamesMin:["Не","По","Ут","Ср","Че","Пе","Су"],weekHeader:"Сед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sr)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-tj.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(e){e.datepicker.regional.tj={closeText:"Идома",prevText:"<Қафо",nextText:"Пеш>",currentText:"Имрӯз",monthNames:["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["якшанбе","душанбе","сешанбе","чоршанбе","панҷшанбе","ҷумъа","шанбе"],dayNamesShort:["якш","душ","сеш","чор","пан","ҷум","шан"],dayNamesMin:["Як","Дш","Сш","Чш","Пш","Ҷм","Шн"],weekHeader:"Хф",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.tj)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/demos/progressbar/default.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery UI Progressbar - Default functionality 6 | 7 | 8 | 9 | 10 | 11 | 12 | 19 | 20 | 21 | 22 |
    23 | 24 |
    25 |

    Default determinate progress bar.

    26 |
    27 | 28 | 29 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-az.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.az={closeText:"Bağla",prevText:"<Geri",nextText:"İrəli>",currentText:"Bugün",monthNames:["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"],monthNamesShort:["Yan","Fev","Mar","Apr","May","İyun","İyul","Avq","Sen","Okt","Noy","Dek"],dayNames:["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"],dayNamesShort:["B","Be","Ça","Ç","Ca","C","Ş"],dayNamesMin:["B","B","Ç","С","Ç","C","Ş"],weekHeader:"Hf",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.az)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-bs.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.bs={closeText:"Zatvori",prevText:"<",nextText:">",currentText:"Danas",monthNames:["Januar","Februar","Mart","April","Maj","Juni","Juli","August","Septembar","Oktobar","Novembar","Decembar"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNames:["Nedelja","Ponedeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],dayNamesShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],dayNamesMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],weekHeader:"Wk",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.bs)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ca.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.ca={closeText:"Tanca",prevText:"Anterior",nextText:"Següent",currentText:"Avui",monthNames:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"],monthNamesShort:["gen","feb","març","abr","maig","juny","jul","ag","set","oct","nov","des"],dayNames:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],dayNamesShort:["dg","dl","dt","dc","dj","dv","ds"],dayNamesMin:["dg","dl","dt","dc","dj","dv","ds"],weekHeader:"Set",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.ca)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-cs.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.cs={closeText:"Zavřít",prevText:"<Dříve",nextText:"Později>",currentText:"Nyní",monthNames:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"],monthNamesShort:["led","úno","bře","dub","kvě","čer","čvc","srp","zář","říj","lis","pro"],dayNames:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"],dayNamesShort:["ne","po","út","st","čt","pá","so"],dayNamesMin:["ne","po","út","st","čt","pá","so"],weekHeader:"Týd",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.cs)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-es.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.es={closeText:"Cerrar",prevText:"<Ant",nextText:"Sig>",currentText:"Hoy",monthNames:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],monthNamesShort:["ene","feb","mar","abr","may","jun","jul","ogo","sep","oct","nov","dic"],dayNames:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],dayNamesShort:["dom","lun","mar","mié","juv","vie","sáb"],dayNamesMin:["D","L","M","X","J","V","S"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.es)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-nl.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.nl={closeText:"Sluiten",prevText:"←",nextText:"→",currentText:"Vandaag",monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthNamesShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesShort:["zon","maa","din","woe","don","vri","zat"],dayNamesMin:["zo","ma","di","wo","do","vr","za"],weekHeader:"Wk",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.nl)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sq.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(e){e.datepicker.regional.sq={closeText:"mbylle",prevText:"<mbrapa",nextText:"Përpara>",currentText:"sot",monthNames:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","Nëntor","Dhjetor"],monthNamesShort:["Jan","Shk","Mar","Pri","Maj","Qer","Kor","Gus","Sht","Tet","Nën","Dhj"],dayNames:["E Diel","E Hënë","E Martë","E Mërkurë","E Enjte","E Premte","E Shtune"],dayNamesShort:["Di","Hë","Ma","Më","En","Pr","Sh"],dayNamesMin:["Di","Hë","Ma","Më","En","Pr","Sh"],weekHeader:"Ja",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sq)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.spinner.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | .ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px} -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-da.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.da={closeText:"Luk",prevText:"<Forrige",nextText:"Næste>",currentText:"Idag",monthNames:["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNames:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],dayNamesShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],dayNamesMin:["Sø","Ma","Ti","On","To","Fr","Lø"],weekHeader:"Uge",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.da)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-gl.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.gl={closeText:"Pechar",prevText:"<Ant",nextText:"Seg>",currentText:"Hoxe",monthNames:["Xaneiro","Febreiro","Marzo","Abril","Maio","Xuño","Xullo","Agosto","Setembro","Outubro","Novembro","Decembro"],monthNamesShort:["Xan","Feb","Mar","Abr","Mai","Xuñ","Xul","Ago","Set","Out","Nov","Dec"],dayNames:["Domingo","Luns","Martes","Mércores","Xoves","Venres","Sábado"],dayNamesShort:["Dom","Lun","Mar","Mér","Xov","Ven","Sáb"],dayNamesMin:["Do","Lu","Ma","Mé","Xo","Ve","Sá"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.gl)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hi.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.hi={closeText:"बंद",prevText:"पिछला",nextText:"अगला",currentText:"आज",monthNames:["जनवरी ","फरवरी","मार्च","अप्रेल","मई","जून","जूलाई","अगस्त ","सितम्बर","अक्टूबर","नवम्बर","दिसम्बर"],monthNamesShort:["जन","फर","मार्च","अप्रेल","मई","जून","जूलाई","अग","सित","अक्ट","नव","दि"],dayNames:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],dayNamesShort:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],dayNamesMin:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],weekHeader:"हफ्ता",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.hi)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-id.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.id={closeText:"Tutup",prevText:"<mundur",nextText:"maju>",currentText:"hari ini",monthNames:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agus","Sep","Okt","Nop","Des"],dayNames:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],dayNamesShort:["Min","Sen","Sel","Rab","kam","Jum","Sab"],dayNamesMin:["Mg","Sn","Sl","Rb","Km","jm","Sb"],weekHeader:"Mg",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.id)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-km.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.km={closeText:"ធ្វើ​រួច",prevText:"មុន",nextText:"បន្ទាប់",currentText:"ថ្ងៃ​នេះ",monthNames:["មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],monthNamesShort:["មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],dayNames:["អាទិត្យ","ចន្ទ","អង្គារ","ពុធ","ព្រហស្បតិ៍","សុក្រ","សៅរ៍"],dayNamesShort:["អា","ច","អ","ពុ","ព្រហ","សុ","សៅ"],dayNamesMin:["អា","ច","អ","ពុ","ព្រហ","សុ","សៅ"],weekHeader:"សប្ដាហ៍",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.km)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ky.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.ky={closeText:"Жабуу",prevText:"<Мур",nextText:"Кий>",currentText:"Бүгүн",monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["жекшемби","дүйшөмбү","шейшемби","шаршемби","бейшемби","жума","ишемби"],dayNamesShort:["жек","дүй","шей","шар","бей","жум","ише"],dayNamesMin:["Жк","Дш","Шш","Шр","Бш","Жм","Иш"],weekHeader:"Жум",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.ky)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-mk.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.mk={closeText:"Затвори",prevText:"<",nextText:">",currentText:"Денес",monthNames:["Јануари","Февруари","Март","Април","Мај","Јуни","Јули","Август","Септември","Октомври","Ноември","Декември"],monthNamesShort:["Јан","Фев","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Ное","Дек"],dayNames:["Недела","Понеделник","Вторник","Среда","Четврток","Петок","Сабота"],dayNamesShort:["Нед","Пон","Вто","Сре","Чет","Пет","Саб"],dayNamesMin:["Не","По","Вт","Ср","Че","Пе","Са"],weekHeader:"Сед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.mk)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ms.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.ms={closeText:"Tutup",prevText:"<Sebelum",nextText:"Selepas>",currentText:"hari ini",monthNames:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"],monthNamesShort:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],dayNames:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],dayNamesShort:["Aha","Isn","Sel","Rab","kha","Jum","Sab"],dayNamesMin:["Ah","Is","Se","Ra","Kh","Ju","Sa"],weekHeader:"Mg",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.ms)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-nb.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.nb={closeText:"Lukk",prevText:"«Forrige",nextText:"Neste»",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthNamesShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],dayNamesShort:["søn","man","tir","ons","tor","fre","lør"],dayNames:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],dayNamesMin:["sø","ma","ti","on","to","fr","lø"],weekHeader:"Uke",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.nb)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-nn.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(e){e.datepicker.regional.nn={closeText:"Lukk",prevText:"«Førre",nextText:"Neste»",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthNamesShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],dayNamesShort:["sun","mån","tys","ons","tor","fre","lau"],dayNames:["sundag","måndag","tysdag","onsdag","torsdag","fredag","laurdag"],dayNamesMin:["su","må","ty","on","to","fr","la"],weekHeader:"Veke",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.nn)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-no.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(e){e.datepicker.regional.no={closeText:"Lukk",prevText:"«Forrige",nextText:"Neste»",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthNamesShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],dayNamesShort:["søn","man","tir","ons","tor","fre","lør"],dayNames:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],dayNamesMin:["sø","ma","ti","on","to","fr","lø"],weekHeader:"Uke",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.no)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sv.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(e){e.datepicker.regional.sv={closeText:"Stäng",prevText:"«Förra",nextText:"Nästa»",currentText:"Idag",monthNames:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNamesShort:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],dayNames:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],dayNamesMin:["Sö","Må","Ti","On","To","Fr","Lö"],weekHeader:"Ve",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sv)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-drop.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | (function(t){t.effects.effect.drop=function(e,i){var s,n=t(this),a=["position","top","bottom","left","right","opacity","height","width"],o=t.effects.setMode(n,e.mode||"hide"),r="show"===o,l=e.direction||"left",h="up"===l||"down"===l?"top":"left",c="up"===l||"left"===l?"pos":"neg",u={opacity:r?1:0};t.effects.save(n,a),n.show(),t.effects.createWrapper(n),s=e.distance||n["top"===h?"outerHeight":"outerWidth"](!0)/2,r&&n.css("opacity",0).css(h,"pos"===c?-s:s),u[h]=(r?"pos"===c?"+=":"-=":"pos"===c?"-=":"+=")+s,n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===o&&n.hide(),t.effects.restore(n,a),t.effects.removeWrapper(n),i()}})}})(jQuery); -------------------------------------------------------------------------------- /vendor/github.com/gin-gonic/gin/render/render.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Manu Martinez-Almeida. All rights reserved. 2 | // Use of this source code is governed by a MIT style 3 | // license that can be found in the LICENSE file. 4 | 5 | package render 6 | 7 | import "net/http" 8 | 9 | type Render interface { 10 | Render(http.ResponseWriter) error 11 | } 12 | 13 | var ( 14 | _ Render = JSON{} 15 | _ Render = IndentedJSON{} 16 | _ Render = XML{} 17 | _ Render = String{} 18 | _ Render = Redirect{} 19 | _ Render = Data{} 20 | _ Render = HTML{} 21 | _ HTMLRender = HTMLDebug{} 22 | _ HTMLRender = HTMLProduction{} 23 | _ Render = YAML{} 24 | ) 25 | 26 | func writeContentType(w http.ResponseWriter, value []string) { 27 | header := w.Header() 28 | if val := header["Content-Type"]; len(val) == 0 { 29 | header["Content-Type"] = value 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/flock.go: -------------------------------------------------------------------------------- 1 | // +build linux darwin freebsd openbsd netbsd dragonfly 2 | 3 | // Copyright 2014 The Go Authors. All rights reserved. 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file. 6 | 7 | // +build darwin dragonfly freebsd linux netbsd openbsd 8 | 9 | package unix 10 | 11 | import "unsafe" 12 | 13 | // fcntl64Syscall is usually SYS_FCNTL, but is overridden on 32-bit Linux 14 | // systems by flock_linux_32bit.go to be SYS_FCNTL64. 15 | var fcntl64Syscall uintptr = SYS_FCNTL 16 | 17 | // FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command. 18 | func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error { 19 | _, _, errno := Syscall(fcntl64Syscall, fd, uintptr(cmd), uintptr(unsafe.Pointer(lk))) 20 | if errno == 0 { 21 | return nil 22 | } 23 | return errno 24 | } 25 | -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-de.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.de={closeText:"Schließen",prevText:"<Zurück",nextText:"Vor>",currentText:"Heute",monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],weekHeader:"KW",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.de)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-eo.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.eo={closeText:"Fermi",prevText:"<Anta",nextText:"Sekv>",currentText:"Nuna",monthNames:["Januaro","Februaro","Marto","Aprilo","Majo","Junio","Julio","Aŭgusto","Septembro","Oktobro","Novembro","Decembro"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aŭg","Sep","Okt","Nov","Dec"],dayNames:["Dimanĉo","Lundo","Mardo","Merkredo","Ĵaŭdo","Vendredo","Sabato"],dayNamesShort:["Dim","Lun","Mar","Mer","Ĵaŭ","Ven","Sab"],dayNamesMin:["Di","Lu","Ma","Me","Ĵa","Ve","Sa"],weekHeader:"Sb",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.eo)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hu.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.hu={closeText:"bezár",prevText:"vissza",nextText:"előre",currentText:"ma",monthNames:["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],monthNamesShort:["Jan","Feb","Már","Ápr","Máj","Jún","Júl","Aug","Szep","Okt","Nov","Dec"],dayNames:["Vasárnap","Hétfő","Kedd","Szerda","Csütörtök","Péntek","Szombat"],dayNamesShort:["Vas","Hét","Ked","Sze","Csü","Pén","Szo"],dayNamesMin:["V","H","K","Sze","Cs","P","Szo"],weekHeader:"Hét",dateFormat:"yy.mm.dd.",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.hu)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-kk.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.kk={closeText:"Жабу",prevText:"<Алдыңғы",nextText:"Келесі>",currentText:"Бүгін",monthNames:["Қаңтар","Ақпан","Наурыз","Сәуір","Мамыр","Маусым","Шілде","Тамыз","Қыркүйек","Қазан","Қараша","Желтоқсан"],monthNamesShort:["Қаң","Ақп","Нау","Сәу","Мам","Мау","Шіл","Там","Қыр","Қаз","Қар","Жел"],dayNames:["Жексенбі","Дүйсенбі","Сейсенбі","Сәрсенбі","Бейсенбі","Жұма","Сенбі"],dayNamesShort:["жкс","дсн","ссн","срс","бсн","жма","снб"],dayNamesMin:["Жк","Дс","Сс","Ср","Бс","Жм","Сн"],weekHeader:"Не",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.kk)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-lb.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.lb={closeText:"Fäerdeg",prevText:"Zréck",nextText:"Weider",currentText:"Haut",monthNames:["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mäe","Abr","Mee","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonndeg","Méindeg","Dënschdeg","Mëttwoch","Donneschdeg","Freideg","Samschdeg"],dayNamesShort:["Son","Méi","Dën","Mët","Don","Fre","Sam"],dayNamesMin:["So","Mé","Dë","Më","Do","Fr","Sa"],weekHeader:"W",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.lb)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/themes/ui-lightness/minified/jquery.ui.spinner.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | .ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px} -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ar.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional.ar={closeText:"إغلاق",prevText:"<السابق",nextText:"التالي>",currentText:"اليوم",monthNames:["كانون الثاني","شباط","آذار","نيسان","مايو","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.ar)}); -------------------------------------------------------------------------------- /static/jquery-ui-1.10.4/development-bundle/ui/minified/i18n/jquery.ui.datepicker-en-AU.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.10.4 - 2014-04-02 2 | * http://jqueryui.com 3 | * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | jQuery(function(t){t.datepicker.regional["en-AU"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional["en-AU"])}); --------------------------------------------------------------------------------