├── VERSION ├── frontend ├── static │ └── .gitkeep ├── .eslintignore ├── config │ ├── prod.env.js │ ├── test.env.js │ └── dev.env.js ├── src │ ├── assets │ │ └── logo.png │ ├── router │ │ └── index.js │ ├── App.vue │ └── main.js ├── test │ ├── unit │ │ ├── .eslintrc │ │ ├── specs │ │ │ └── Hello.spec.js │ │ └── index.js │ └── e2e │ │ ├── specs │ │ └── test.js │ │ └── custom-assertions │ │ └── elementCount.js ├── .editorconfig ├── .postcssrc.js ├── index.html ├── .gitignore ├── build │ ├── dev-client.js │ ├── vue-loader.conf.js │ └── webpack.test.conf.js ├── .babelrc ├── README.md └── .eslintrc.js ├── vendor ├── github.com │ ├── andybalholm │ │ └── cascadia │ │ │ ├── fuzz │ │ │ ├── corpus │ │ │ │ ├── test1 │ │ │ │ ├── test0 │ │ │ │ ├── test2 │ │ │ │ ├── test3 │ │ │ │ ├── test36 │ │ │ │ ├── test37 │ │ │ │ ├── test4 │ │ │ │ ├── test40 │ │ │ │ ├── test41 │ │ │ │ ├── test42 │ │ │ │ ├── test5 │ │ │ │ ├── test6 │ │ │ │ ├── test9 │ │ │ │ ├── test10 │ │ │ │ ├── test38 │ │ │ │ ├── test39 │ │ │ │ ├── test7 │ │ │ │ ├── test8 │ │ │ │ ├── test14 │ │ │ │ ├── test15 │ │ │ │ ├── test16 │ │ │ │ ├── test17 │ │ │ │ ├── test18 │ │ │ │ ├── test19 │ │ │ │ ├── test28 │ │ │ │ ├── test29 │ │ │ │ ├── test30 │ │ │ │ ├── test32 │ │ │ │ ├── test33 │ │ │ │ ├── test34 │ │ │ │ ├── test35 │ │ │ │ ├── test48 │ │ │ │ ├── test52 │ │ │ │ ├── test53 │ │ │ │ ├── test55 │ │ │ │ ├── test57 │ │ │ │ ├── test11 │ │ │ │ ├── test20 │ │ │ │ ├── test21 │ │ │ │ ├── test22 │ │ │ │ ├── test23 │ │ │ │ ├── test31 │ │ │ │ ├── test46 │ │ │ │ ├── test54 │ │ │ │ ├── test56 │ │ │ │ ├── test13 │ │ │ │ ├── test24 │ │ │ │ ├── test25 │ │ │ │ ├── test26 │ │ │ │ ├── test27 │ │ │ │ ├── test43 │ │ │ │ ├── test44 │ │ │ │ ├── test47 │ │ │ │ ├── test49 │ │ │ │ ├── test58 │ │ │ │ ├── test59 │ │ │ │ ├── test45 │ │ │ │ ├── test50 │ │ │ │ ├── test12 │ │ │ │ ├── test51 │ │ │ │ ├── test61 │ │ │ │ └── test60 │ │ │ └── fuzz.go │ │ │ ├── .travis.yml │ │ │ └── README.md │ ├── PuerkitoBio │ │ └── goquery │ │ │ ├── .gitattributes │ │ │ ├── .travis.yml │ │ │ ├── .gitignore │ │ │ └── testdata │ │ │ ├── page2.html │ │ │ └── page3.html │ ├── gopherjs │ │ └── gopherjs │ │ │ ├── .gitignore │ │ │ ├── compiler │ │ │ ├── natives │ │ │ │ ├── src │ │ │ │ │ ├── fmt │ │ │ │ │ │ └── fmt_test.go │ │ │ │ │ ├── text │ │ │ │ │ │ └── template │ │ │ │ │ │ │ └── template.go │ │ │ │ │ ├── testing │ │ │ │ │ │ └── testing.go │ │ │ │ │ ├── go │ │ │ │ │ │ └── token │ │ │ │ │ │ │ └── token_test.go │ │ │ │ │ ├── bytes │ │ │ │ │ │ ├── bytes_test.go │ │ │ │ │ │ └── bytes.go │ │ │ │ │ ├── sync │ │ │ │ │ │ ├── atomic │ │ │ │ │ │ │ └── atomic_test.go │ │ │ │ │ │ ├── export_test.go │ │ │ │ │ │ ├── waitgroup.go │ │ │ │ │ │ ├── pool.go │ │ │ │ │ │ ├── cond.go │ │ │ │ │ │ └── sync_test.go │ │ │ │ │ ├── encoding │ │ │ │ │ │ └── json │ │ │ │ │ │ │ └── stream_test.go │ │ │ │ │ ├── math │ │ │ │ │ │ ├── big │ │ │ │ │ │ │ ├── big.go │ │ │ │ │ │ │ └── big_test.go │ │ │ │ │ │ ├── rand │ │ │ │ │ │ │ └── rand_test.go │ │ │ │ │ │ └── math_test.go │ │ │ │ │ ├── regexp │ │ │ │ │ │ └── regexp_test.go │ │ │ │ │ ├── crypto │ │ │ │ │ │ └── x509 │ │ │ │ │ │ │ ├── x509.go │ │ │ │ │ │ │ └── x509_test.go │ │ │ │ │ ├── os │ │ │ │ │ │ ├── signal │ │ │ │ │ │ │ └── signal.go │ │ │ │ │ │ └── os.go │ │ │ │ │ ├── net │ │ │ │ │ │ └── http │ │ │ │ │ │ │ └── cookiejar │ │ │ │ │ │ │ └── example_test.go │ │ │ │ │ ├── reflect │ │ │ │ │ │ ├── example_test.go │ │ │ │ │ │ └── swapper.go │ │ │ │ │ ├── io │ │ │ │ │ │ └── io_test.go │ │ │ │ │ ├── internal │ │ │ │ │ │ └── testenv │ │ │ │ │ │ │ └── testenv.go │ │ │ │ │ ├── unicode │ │ │ │ │ │ └── unicode.go │ │ │ │ │ └── runtime │ │ │ │ │ │ └── pprof │ │ │ │ │ │ └── pprof.go │ │ │ │ ├── doc.go │ │ │ │ └── fs.go │ │ │ ├── version_check.go │ │ │ ├── vendor │ │ │ │ └── vendor.json │ │ │ ├── typesutil │ │ │ │ └── typesutil.go │ │ │ ├── analysis │ │ │ │ ├── break.go │ │ │ │ └── sideeffect.go │ │ │ └── filter │ │ │ │ └── incdecstmt.go │ │ │ └── node-syscall │ │ │ └── binding.gyp │ ├── smartystreets │ │ ├── goconvey │ │ │ ├── convey │ │ │ │ ├── gotest │ │ │ │ │ └── doc_test.go │ │ │ │ ├── reporting │ │ │ │ │ ├── reporting.goconvey │ │ │ │ │ ├── doc.go │ │ │ │ │ ├── console.go │ │ │ │ │ └── gotest.go │ │ │ │ ├── convey.goconvey │ │ │ │ └── nilReporter.go │ │ │ ├── web │ │ │ │ ├── server │ │ │ │ │ ├── contract │ │ │ │ │ │ └── doc_test.go │ │ │ │ │ ├── api │ │ │ │ │ │ └── api.goconvey │ │ │ │ │ ├── messaging │ │ │ │ │ │ └── doc_test.go │ │ │ │ │ ├── parser │ │ │ │ │ │ ├── parser.goconvey │ │ │ │ │ │ └── parser.go │ │ │ │ │ ├── executor │ │ │ │ │ │ ├── executor.goconvey │ │ │ │ │ │ └── contract.go │ │ │ │ │ ├── system │ │ │ │ │ │ └── system.goconvey │ │ │ │ │ └── watch │ │ │ │ │ │ ├── integration_testing │ │ │ │ │ │ ├── doc_test.go │ │ │ │ │ │ ├── sub │ │ │ │ │ │ │ ├── .gitignore │ │ │ │ │ │ │ ├── stuff.go │ │ │ │ │ │ │ ├── sub.goconvey │ │ │ │ │ │ │ └── stuff_test.go │ │ │ │ │ │ └── main.go │ │ │ │ │ │ └── watch.goconvey │ │ │ │ └── client │ │ │ │ │ ├── resources │ │ │ │ │ ├── js │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ ├── jquery.js.url │ │ │ │ │ │ │ ├── jquery-ui.js.url │ │ │ │ │ │ │ ├── moment.js.url │ │ │ │ │ │ │ ├── markup.js.url │ │ │ │ │ │ │ ├── jquery.tipsy.js.url │ │ │ │ │ │ │ ├── taboverride.js.url │ │ │ │ │ │ │ └── jquery.pretty-text-diff.js.url │ │ │ │ │ │ └── config.js │ │ │ │ │ ├── ico │ │ │ │ │ │ ├── goconvey-ok.ico │ │ │ │ │ │ ├── goconvey-fail.ico │ │ │ │ │ │ ├── goconvey-panic.ico │ │ │ │ │ │ └── goconvey-buildfail.ico │ │ │ │ │ └── fonts │ │ │ │ │ │ ├── Oswald │ │ │ │ │ │ └── Oswald-Regular.ttf │ │ │ │ │ │ ├── Open_Sans │ │ │ │ │ │ ├── OpenSans-Bold.ttf │ │ │ │ │ │ ├── OpenSans-Light.ttf │ │ │ │ │ │ ├── OpenSans-Italic.ttf │ │ │ │ │ │ ├── OpenSans-Regular.ttf │ │ │ │ │ │ └── OpenSans-LightItalic.ttf │ │ │ │ │ │ ├── Orbitron │ │ │ │ │ │ └── Orbitron-Regular.ttf │ │ │ │ │ │ └── FontAwesome │ │ │ │ │ │ └── fonts │ │ │ │ │ │ ├── FontAwesome.otf │ │ │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ │ │ └── fontawesome-webfont.woff2 │ │ │ │ │ └── favicon.ico │ │ │ ├── .gitattributes │ │ │ ├── .gitignore │ │ │ ├── dependencies.go │ │ │ ├── .travis.yml │ │ │ └── examples │ │ │ │ ├── doc.go │ │ │ │ ├── examples.goconvey │ │ │ │ └── simple_example_test.go │ │ └── assertions │ │ │ ├── .gitignore │ │ │ ├── internal │ │ │ ├── oglematchers │ │ │ │ ├── .gitignore │ │ │ │ └── .travis.yml │ │ │ └── go-render │ │ │ │ ├── WATCHLISTS │ │ │ │ └── .travis.yml │ │ │ └── .travis.yml │ ├── astaxie │ │ └── beego │ │ │ ├── .gitignore │ │ │ ├── .gosimpleignore │ │ │ ├── plugins │ │ │ ├── authz │ │ │ │ ├── authz_policy.csv │ │ │ │ └── authz_model.conf │ │ │ └── apiauth │ │ │ │ └── apiauth_test.go │ │ │ ├── context │ │ │ ├── renderer.go │ │ │ └── response.go │ │ │ ├── logs │ │ │ ├── alils │ │ │ │ └── config.go │ │ │ ├── conn_test.go │ │ │ └── color.go │ │ │ ├── .github │ │ │ └── ISSUE_TEMPLATE │ │ │ ├── doc.go │ │ │ ├── LICENSE │ │ │ ├── grace │ │ │ └── conn.go │ │ │ ├── testing │ │ │ └── assertions.go │ │ │ └── utils │ │ │ ├── utils.go │ │ │ ├── caller.go │ │ │ ├── captcha │ │ │ └── README.md │ │ │ ├── slice_test.go │ │ │ └── caller_test.go │ ├── antchfx │ │ ├── xpath │ │ │ ├── .travis.yml │ │ │ ├── .gitignore │ │ │ └── doc_test.go │ │ └── xquery │ │ │ ├── .travis.yml │ │ │ ├── .gitignore │ │ │ └── examples │ │ │ └── xml │ │ │ └── main.go │ └── jtolds │ │ └── gls │ │ ├── gen_sym.go │ │ ├── stack_tags_main.go │ │ ├── id_pool.go │ │ └── gid.go └── golang.org │ └── x │ ├── net │ ├── codereview.cfg │ ├── http2 │ │ ├── .gitignore │ │ ├── h2demo │ │ │ ├── rootCA.srl │ │ │ ├── .gitignore │ │ │ ├── Makefile │ │ │ └── README │ │ ├── Makefile │ │ ├── not_go19.go │ │ ├── go16.go │ │ ├── go19.go │ │ ├── not_go16.go │ │ ├── errors_test.go │ │ ├── README │ │ ├── not_go18.go │ │ └── gotrack_test.go │ ├── .gitignore │ ├── html │ │ ├── charset │ │ │ └── testdata │ │ │ │ ├── UTF-16BE-BOM.html │ │ │ │ ├── UTF-16LE-BOM.html │ │ │ │ └── README │ │ └── testdata │ │ │ └── webkit │ │ │ ├── pending-spec-changes-plain-text-unsafe.dat │ │ │ ├── scripted │ │ │ ├── adoption01.dat │ │ │ └── webkit01.dat │ │ │ ├── adoption02.dat │ │ │ ├── inbody01.dat │ │ │ └── isindex.dat │ ├── README │ ├── AUTHORS │ ├── CONTRIBUTORS │ ├── internal │ │ ├── socket │ │ │ ├── sys_darwin.go │ │ │ ├── sys_dragonfly.go │ │ │ ├── sys_linux_amd64.go │ │ │ ├── sys_linux_arm.go │ │ │ ├── sys_linux_arm64.go │ │ │ ├── sys_linux_mips.go │ │ │ ├── sys_linux_ppc64.go │ │ │ ├── sys_linux_mips64.go │ │ │ ├── sys_linux_mips64le.go │ │ │ ├── sys_linux_mipsle.go │ │ │ ├── sys_linux_ppc64le.go │ │ │ ├── msghdr_openbsd.go │ │ │ ├── iovec_stub.go │ │ │ ├── msghdr_bsdvar.go │ │ │ ├── sys_linux_386.s │ │ │ ├── sys_bsdvar.go │ │ │ ├── sys_linux_s390x.s │ │ │ ├── sys_solaris_amd64.s │ │ │ ├── cmsghdr_bsd.go │ │ │ ├── cmsghdr_solaris_64bit.go │ │ │ ├── cmsghdr_linux_32bit.go │ │ │ ├── iovec_solaris_64bit.go │ │ │ ├── cmsghdr_linux_64bit.go │ │ │ ├── cmsghdr.go │ │ │ ├── iovec_32bit.go │ │ │ ├── iovec_64bit.go │ │ │ ├── rawconn_nommsg.go │ │ │ ├── sys_bsd.go │ │ │ ├── cmsghdr_stub.go │ │ │ ├── msghdr_linux_32bit.go │ │ │ ├── rawconn_nomsg.go │ │ │ ├── msghdr_linux_64bit.go │ │ │ ├── mmsghdr_stub.go │ │ │ ├── msghdr_stub.go │ │ │ ├── error_windows.go │ │ │ ├── rawconn_stub.go │ │ │ ├── sys.go │ │ │ ├── error_unix.go │ │ │ ├── sys_netbsd.go │ │ │ ├── sys_linux.go │ │ │ ├── msghdr_solaris_64bit.go │ │ │ └── msghdr_linux.go │ │ └── nettest │ │ │ ├── helper_nobsd.go │ │ │ ├── rlimit.go │ │ │ ├── helper_stub.go │ │ │ ├── helper_unix.go │ │ │ └── helper_posix.go │ ├── lif │ │ ├── sys_solaris_amd64.s │ │ ├── sys.go │ │ └── syscall.go │ ├── icmp │ │ ├── sys_freebsd.go │ │ └── ipv6.go │ ├── bpf │ │ ├── setter.go │ │ └── testdata │ │ │ └── all_instructions.bpf │ ├── webdav │ │ ├── file_go1.7.go │ │ ├── file_go1.6.go │ │ └── internal │ │ │ └── xml │ │ │ └── README │ ├── ipv4 │ │ ├── sys_stub.go │ │ ├── sys_bpf_stub.go │ │ ├── control_windows.go │ │ ├── control_stub.go │ │ ├── icmp_stub.go │ │ ├── control_test.go │ │ ├── sys_asmreqn_stub.go │ │ ├── sys_ssmreq_stub.go │ │ ├── icmp_linux.go │ │ ├── sys_bpf.go │ │ ├── payload.go │ │ ├── sys_asmreq_stub.go │ │ ├── zsys_netbsd.go │ │ ├── zsys_openbsd.go │ │ └── zsys_dragonfly.go │ ├── ipv6 │ │ ├── sys_stub.go │ │ ├── sys_bpf_stub.go │ │ ├── control_windows.go │ │ ├── control_stub.go │ │ ├── sys_asmreq_stub.go │ │ ├── control_test.go │ │ ├── icmp_stub.go │ │ ├── sys_ssmreq_stub.go │ │ ├── icmp_windows.go │ │ ├── sys_bpf.go │ │ ├── payload.go │ │ ├── sys_asmreq.go │ │ ├── icmp_linux.go │ │ ├── mocktransponder_test.go │ │ ├── icmp_solaris.go │ │ └── icmp_bsd.go │ ├── .gitattributes │ ├── proxy │ │ └── direct.go │ ├── websocket │ │ ├── dial.go │ │ ├── examplehandler_test.go │ │ └── exampledial_test.go │ ├── trace │ │ ├── trace_go17.go │ │ └── trace_go16.go │ ├── context │ │ ├── go19.go │ │ └── ctxhttp │ │ │ └── ctxhttp_17_test.go │ ├── route │ │ ├── syscall.go │ │ ├── interface_announce.go │ │ ├── message_darwin_test.go │ │ └── interface_multicast.go │ └── nettest │ │ └── conntest_go16.go │ └── text │ ├── codereview.cfg │ ├── encoding │ ├── testdata │ │ ├── candide-gb18030.txt │ │ ├── candide-utf-16le.txt │ │ ├── candide-utf-32be.txt │ │ ├── rashomon-euc-jp.txt │ │ ├── rashomon-shift-jis.txt │ │ ├── candide-windows-1252.txt │ │ ├── unsu-joh-eun-nal-euc-kr.txt │ │ ├── sunzi-bingfa-simplified-gbk.txt │ │ └── sunzi-bingfa-traditional-big5.txt │ ├── japanese │ │ └── all.go │ ├── simplifiedchinese │ │ └── all.go │ └── ianaindex │ │ └── example_test.go │ ├── AUTHORS │ ├── CONTRIBUTORS │ ├── .gitignore │ ├── internal │ ├── export │ │ └── README │ ├── testtext │ │ ├── gc.go │ │ ├── gccgo.go │ │ ├── go1_7.go │ │ ├── flag.go │ │ └── go1_6.go │ └── number │ │ ├── roundingmode_string.go │ │ └── common.go │ ├── collate │ └── tools │ │ └── colcmp │ │ └── Makefile │ ├── language │ ├── go1_2.go │ ├── common.go │ ├── Makefile │ ├── gen_common.go │ └── go1_1.go │ ├── secure │ ├── doc.go │ └── precis │ │ └── doc.go │ ├── .gitattributes │ ├── unicode │ ├── doc.go │ ├── norm │ │ ├── norm_test.go │ │ └── example_test.go │ └── cldr │ │ ├── examples_test.go │ │ └── cldr_test.go │ ├── width │ ├── kind_string.go │ ├── trieval.go │ └── gen_trieval.go │ ├── doc.go │ ├── currency │ └── example_test.go │ ├── cmd │ └── gotext │ │ └── doc.go │ ├── README │ └── transform │ └── examples_test.go ├── demo.gif ├── bale.json ├── .gitattributes ├── 打开Web操作界面.url ├── conf └── app.conf ├── libs ├── api │ └── api.go └── env │ └── env.go ├── glide.yaml ├── go.mod ├── .gitignore ├── main.go └── routers └── router.go /VERSION: -------------------------------------------------------------------------------- 1 | 0.4 -------------------------------------------------------------------------------- /frontend/static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /frontend/.eslintignore: -------------------------------------------------------------------------------- 1 | build/*.js 2 | config/*.js 3 | -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test1: -------------------------------------------------------------------------------- 1 | * -------------------------------------------------------------------------------- /demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/demo.gif -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test0: -------------------------------------------------------------------------------- 1 | address -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test2: -------------------------------------------------------------------------------- 1 | #foo -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test3: -------------------------------------------------------------------------------- 1 | li#t1 -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test36: -------------------------------------------------------------------------------- 1 | :empty -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test37: -------------------------------------------------------------------------------- 1 | div p -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test4: -------------------------------------------------------------------------------- 1 | *#t4 -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test40: -------------------------------------------------------------------------------- 1 | p ~ p -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test41: -------------------------------------------------------------------------------- 1 | p + p -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test42: -------------------------------------------------------------------------------- 1 | li, p -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test5: -------------------------------------------------------------------------------- 1 | .t1 -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test6: -------------------------------------------------------------------------------- 1 | p.t1 -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test9: -------------------------------------------------------------------------------- 1 | p.t1.t2 -------------------------------------------------------------------------------- /vendor/golang.org/x/net/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | h2i/h2i 3 | -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test10: -------------------------------------------------------------------------------- 1 | p[title] -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test38: -------------------------------------------------------------------------------- 1 | div table p -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test39: -------------------------------------------------------------------------------- 1 | div > p -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test7: -------------------------------------------------------------------------------- 1 | div.teST -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test8: -------------------------------------------------------------------------------- 1 | .t1.fail -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/h2demo/rootCA.srl: -------------------------------------------------------------------------------- 1 | E2CE26BF3285059C 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /bale.json: -------------------------------------------------------------------------------- 1 | { 2 | "bale": { 3 | "dirs": ["static/*"] 4 | } 5 | } -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test14: -------------------------------------------------------------------------------- 1 | [lang|="en"] -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test15: -------------------------------------------------------------------------------- 1 | [title^="foo"] -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test16: -------------------------------------------------------------------------------- 1 | [title$="bar"] -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test17: -------------------------------------------------------------------------------- 1 | [title*="bar"] -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test18: -------------------------------------------------------------------------------- 1 | .t1:not(.t2) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test19: -------------------------------------------------------------------------------- 1 | div:not(.t1) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test28: -------------------------------------------------------------------------------- 1 | span:first-child -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test29: -------------------------------------------------------------------------------- 1 | span:last-child -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test30: -------------------------------------------------------------------------------- 1 | p:nth-of-type(2) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test32: -------------------------------------------------------------------------------- 1 | p:last-of-type -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test33: -------------------------------------------------------------------------------- 1 | p:first-of-type -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test34: -------------------------------------------------------------------------------- 1 | p:only-child -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test35: -------------------------------------------------------------------------------- 1 | p:only-of-type -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test48: -------------------------------------------------------------------------------- 1 | div:has(#p1) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test52: -------------------------------------------------------------------------------- 1 | p:matches([\d]) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test53: -------------------------------------------------------------------------------- 1 | p:matches([a-z]) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test55: -------------------------------------------------------------------------------- 1 | p:matches([^\d]) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test57: -------------------------------------------------------------------------------- 1 | p:matches(^\d+$) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test11: -------------------------------------------------------------------------------- 1 | address[title="foo"] -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test20: -------------------------------------------------------------------------------- 1 | li:nth-child(odd) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test21: -------------------------------------------------------------------------------- 1 | li:nth-child(even) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test22: -------------------------------------------------------------------------------- 1 | li:nth-child(-n+2) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test23: -------------------------------------------------------------------------------- 1 | li:nth-child(3n+1) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test31: -------------------------------------------------------------------------------- 1 | p:nth-last-of-type(2) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test46: -------------------------------------------------------------------------------- 1 | :containsOwn("inner") -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test54: -------------------------------------------------------------------------------- 1 | p:matches([a-zA-Z]) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test56: -------------------------------------------------------------------------------- 1 | p:matches(^(0|a)) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test13: -------------------------------------------------------------------------------- 1 | [title~="hello world"] -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test24: -------------------------------------------------------------------------------- 1 | li:nth-last-child(odd) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test25: -------------------------------------------------------------------------------- 1 | li:nth-last-child(even) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test26: -------------------------------------------------------------------------------- 1 | li:nth-last-child(-n+2) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test27: -------------------------------------------------------------------------------- 1 | li:nth-last-child(3n+1) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test43: -------------------------------------------------------------------------------- 1 | p +/*This is a comment*/ p -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test44: -------------------------------------------------------------------------------- 1 | p:contains("that wraps") -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test47: -------------------------------------------------------------------------------- 1 | p:containsOwn("block") -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test49: -------------------------------------------------------------------------------- 1 | div:has(:containsOwn("2")) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test58: -------------------------------------------------------------------------------- 1 | p:not(:matches(^\d+$)) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test59: -------------------------------------------------------------------------------- 1 | div :matchesOwn(^\d+$) -------------------------------------------------------------------------------- /frontend/config/prod.env.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | NODE_ENV: '"production"' 3 | } 4 | -------------------------------------------------------------------------------- /vendor/github.com/PuerkitoBio/goquery/.gitattributes: -------------------------------------------------------------------------------- 1 | testdata/* linguist-vendored 2 | -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test45: -------------------------------------------------------------------------------- 1 | p:containsOwn("that wraps") -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test50: -------------------------------------------------------------------------------- 1 | body :has(:containsOwn("2")) -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/.gitignore: -------------------------------------------------------------------------------- 1 | /node-syscall/build 2 | /node_modules 3 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/convey/gotest/doc_test.go: -------------------------------------------------------------------------------- 1 | package gotest 2 | -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test12: -------------------------------------------------------------------------------- 1 | [ title ~= foo ] -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test51: -------------------------------------------------------------------------------- 1 | body :haschild(:containsOwn("2")) -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test61: -------------------------------------------------------------------------------- 1 | [href#=(^https:\/\/[^\/]*\/?news)] -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/contract/doc_test.go: -------------------------------------------------------------------------------- 1 | package contract 2 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/api/api.goconvey: -------------------------------------------------------------------------------- 1 | #ignore 2 | -timeout=1s 3 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/messaging/doc_test.go: -------------------------------------------------------------------------------- 1 | package messaging 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/Makefile: -------------------------------------------------------------------------------- 1 | curlimage: 2 | docker build -t gohttp2/curl . 3 | 4 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.js linguist-language=go 2 | *.css linguist-language=go 3 | *.html linguist-language=go -------------------------------------------------------------------------------- /frontend/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/frontend/src/assets/logo.png -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/parser/parser.goconvey: -------------------------------------------------------------------------------- 1 | #ignore 2 | -timeout=1s 3 | -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/corpus/test60: -------------------------------------------------------------------------------- 1 | [href#=(fina)]:not([href#=(\/\/[^\/]+untrusted)]) -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/.gitattributes: -------------------------------------------------------------------------------- 1 | web/client/resources/js/lib/* linguist-vendored 2 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/convey/reporting/reporting.goconvey: -------------------------------------------------------------------------------- 1 | #ignore 2 | -timeout=1s 3 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/executor/executor.goconvey: -------------------------------------------------------------------------------- 1 | #ignore 2 | -timeout=1s 3 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/system/system.goconvey: -------------------------------------------------------------------------------- 1 | #ignore 2 | -timeout=1s 3 | -short -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/watch/integration_testing/doc_test.go: -------------------------------------------------------------------------------- 1 | package main 2 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/watch/watch.goconvey: -------------------------------------------------------------------------------- 1 | #ignore 2 | -timeout=1s 3 | -short -------------------------------------------------------------------------------- /vendor/github.com/astaxie/beego/.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .vscode 3 | .DS_Store 4 | *.swp 5 | *.swo 6 | beego.iml 7 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/assertions/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | Thumbs.db 3 | *.iml 4 | /.idea 5 | coverage.out 6 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/js/lib/jquery.js.url: -------------------------------------------------------------------------------- 1 | https://code.jquery.com/jquery-2.1.0.js 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/.gitignore: -------------------------------------------------------------------------------- 1 | # Add no patterns to .hgignore except for files generated by the build. 2 | last-change 3 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/assertions/internal/oglematchers/.gitignore: -------------------------------------------------------------------------------- 1 | *.6 2 | 6.out 3 | _obj/ 4 | _test/ 5 | _testmain.go 6 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/h2demo/.gitignore: -------------------------------------------------------------------------------- 1 | h2demo 2 | h2demo.linux 3 | client-id.dat 4 | client-secret.dat 5 | token.dat 6 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | Thumbs.db 3 | examples/output.json 4 | web/client/reports/ 5 | /.idea -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/js/lib/jquery-ui.js.url: -------------------------------------------------------------------------------- 1 | https://code.jquery.com/ui/1.10.4/jquery-ui.js 2 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/fmt/fmt_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package fmt_test 4 | 5 | const intCount = 100 6 | -------------------------------------------------------------------------------- /打开Web操作界面.url: -------------------------------------------------------------------------------- 1 | [{000214A0-0000-0000-C000-000000000046}] 2 | Prop3=19,2 3 | [InternetShortcut] 4 | IDList= 5 | URL=http://127.0.0.1:8888/gui/#/ 6 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/js/lib/moment.js.url: -------------------------------------------------------------------------------- 1 | https://raw.githubusercontent.com/moment/moment/2.10.2/moment.js 2 | -------------------------------------------------------------------------------- /conf/app.conf: -------------------------------------------------------------------------------- 1 | appname = haoma 2 | httpport = 8888 3 | runmode = "${ProRunMode||prod}" 4 | autorender = false 5 | copyrequestbody = true 6 | EnableDocs = true 7 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/text/template/template.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package template 4 | 5 | const maxExecDepth = 3000 6 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/js/lib/markup.js.url: -------------------------------------------------------------------------------- 1 | https://raw.githubusercontent.com/adammark/Markup.js/master/src/markup.js 2 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/dependencies.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import _ "github.com/jtolds/gls" 4 | import _ "github.com/smartystreets/assertions" 5 | -------------------------------------------------------------------------------- /frontend/test/unit/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "mocha": true 4 | }, 5 | "globals": { 6 | "expect": true, 7 | "sinon": true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/github.com/smartystreets/goconvey/web/client/favicon.ico -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/candide-gb18030.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/golang.org/x/text/encoding/testdata/candide-gb18030.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/candide-utf-16le.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/golang.org/x/text/encoding/testdata/candide-utf-16le.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/candide-utf-32be.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/golang.org/x/text/encoding/testdata/candide-utf-32be.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/rashomon-euc-jp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/golang.org/x/text/encoding/testdata/rashomon-euc-jp.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/rashomon-shift-jis.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/golang.org/x/text/encoding/testdata/rashomon-shift-jis.txt -------------------------------------------------------------------------------- /frontend/config/test.env.js: -------------------------------------------------------------------------------- 1 | var merge = require('webpack-merge') 2 | var devEnv = require('./dev.env') 3 | 4 | module.exports = merge(devEnv, { 5 | NODE_ENV: '"testing"' 6 | }) 7 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/js/lib/jquery.tipsy.js.url: -------------------------------------------------------------------------------- 1 | https://raw.githubusercontent.com/jaz303/tipsy/v1.0.0a/src/javascripts/jquery.tipsy.js 2 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/js/lib/taboverride.js.url: -------------------------------------------------------------------------------- 1 | https://raw.githubusercontent.com/wjbryant/taboverride/4.0.3/build/output/taboverride.js 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/candide-windows-1252.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/golang.org/x/text/encoding/testdata/candide-windows-1252.txt -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/node-syscall/binding.gyp: -------------------------------------------------------------------------------- 1 | { 2 | 'targets': [ 3 | { 4 | 'target_name': 'syscall', 5 | 'sources': [ 'syscall.cc' ] 6 | } 7 | ] 8 | } -------------------------------------------------------------------------------- /vendor/golang.org/x/net/README: -------------------------------------------------------------------------------- 1 | This repository holds supplementary Go networking libraries. 2 | 3 | To submit changes to this repository, see http://golang.org/doc/contribute.html. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/unsu-joh-eun-nal-euc-kr.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/golang.org/x/text/encoding/testdata/unsu-joh-eun-nal-euc-kr.txt -------------------------------------------------------------------------------- /frontend/config/dev.env.js: -------------------------------------------------------------------------------- 1 | var merge = require('webpack-merge') 2 | var prodEnv = require('./prod.env') 3 | 4 | module.exports = merge(prodEnv, { 5 | NODE_ENV: '"development"' 6 | }) 7 | -------------------------------------------------------------------------------- /vendor/github.com/astaxie/beego/.gosimpleignore: -------------------------------------------------------------------------------- 1 | github.com/astaxie/beego/*/*:S1012 2 | github.com/astaxie/beego/*:S1012 3 | github.com/astaxie/beego/*/*:S1007 4 | github.com/astaxie/beego/*:S1007 -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/js/lib/jquery.pretty-text-diff.js.url: -------------------------------------------------------------------------------- 1 | https://raw.githubusercontent.com/arnab/jQuery.PrettyTextDiff/1.0.2/jquery.pretty-text-diff.js 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-simplified-gbk.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-simplified-gbk.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-traditional-big5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-traditional-big5.txt -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/ico/goconvey-ok.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/github.com/smartystreets/goconvey/web/client/resources/ico/goconvey-ok.ico -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/assertions/internal/oglematchers/.travis.yml: -------------------------------------------------------------------------------- 1 | # Cf. http://docs.travis-ci.com/user/getting-started/ 2 | # Cf. http://docs.travis-ci.com/user/languages/go/ 3 | 4 | language: go 5 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/ico/goconvey-fail.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/github.com/smartystreets/goconvey/web/client/resources/ico/goconvey-fail.ico -------------------------------------------------------------------------------- /frontend/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/assertions/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.x 5 | - master 6 | 7 | install: 8 | - go get -t ./... 9 | 10 | script: go test -v 11 | 12 | sudo: false 13 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/ico/goconvey-panic.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/github.com/smartystreets/goconvey/web/client/resources/ico/goconvey-panic.ico -------------------------------------------------------------------------------- /vendor/golang.org/x/net/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /libs/api/api.go: -------------------------------------------------------------------------------- 1 | package api 2 | 3 | type DefaultApi struct { 4 | ErrCode int `json:"err_code"` //错误代码 5 | ErrMsg string `json:"err_msg"` //错误信息 6 | Data interface{} `json:"data"` //数据 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/ico/goconvey-buildfail.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/github.com/smartystreets/goconvey/web/client/resources/ico/goconvey-buildfail.ico -------------------------------------------------------------------------------- /vendor/golang.org/x/text/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/testing/testing.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package testing 4 | 5 | func callerName(skip int) string { 6 | // TODO: Implement if possible. 7 | return "" 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Oswald/Oswald-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Oswald/Oswald-Regular.ttf -------------------------------------------------------------------------------- /vendor/github.com/PuerkitoBio/goquery/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.1.x 5 | - 1.2.x 6 | - 1.3.x 7 | - 1.4.x 8 | - 1.5.x 9 | - 1.6.x 10 | - 1.7.x 11 | - 1.8.x 12 | - tip 13 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/go/token/token_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package token 4 | 5 | import ( 6 | "testing" 7 | ) 8 | 9 | func TestFileSetRace(t *testing.T) { 10 | t.Skip() 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Open_Sans/OpenSans-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Open_Sans/OpenSans-Bold.ttf -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Open_Sans/OpenSans-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Open_Sans/OpenSans-Light.ttf -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Open_Sans/OpenSans-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Open_Sans/OpenSans-Italic.ttf -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Open_Sans/OpenSans-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Open_Sans/OpenSans-Regular.ttf -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Orbitron/Orbitron-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Orbitron/Orbitron-Regular.ttf -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/watch/integration_testing/sub/.gitignore: -------------------------------------------------------------------------------- 1 | github.com-smartystreets-goconvey-web-server-integration_testing-sub.html 2 | github.com-smartystreets-goconvey-web-server-integration_testing-sub.txt -------------------------------------------------------------------------------- /vendor/github.com/antchfx/xpath/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.6 5 | - 1.7 6 | - 1.8 7 | 8 | install: 9 | - go get github.com/mattn/goveralls 10 | 11 | script: 12 | - $HOME/gopath/bin/goveralls -service=travis-ci -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/bytes/bytes_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package bytes_test 4 | 5 | import ( 6 | "testing" 7 | ) 8 | 9 | func TestEqualNearPageBoundary(t *testing.T) { 10 | t.Skip() 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/FontAwesome/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/FontAwesome/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/watch/integration_testing/sub/stuff.go: -------------------------------------------------------------------------------- 1 | // This file's only purpose is to provide a realistic 2 | // environment from which to run integration tests 3 | // against the Watcher. 4 | package sub 5 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/testdata/webkit/pending-spec-changes-plain-text-unsafe.dat: -------------------------------------------------------------------------------- 1 | #data 2 | fillertext 3 | #errors 4 | #document 5 | | 6 | | 7 | | 8 | | "fillertext" 9 | |
10 | -------------------------------------------------------------------------------- /frontend/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | "plugins": { 5 | // to edit target browsers: use "browserslist" field in package.json 6 | "autoprefixer": {} 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/sync/atomic/atomic_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package atomic_test 4 | 5 | import "testing" 6 | 7 | func TestHammerStoreLoad(t *testing.T) { 8 | t.Skip("use of unsafe") 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Open_Sans/OpenSans-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Open_Sans/OpenSans-LightItalic.ttf -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.3 5 | - 1.4 6 | 7 | install: 8 | - go get github.com/andybalholm/cascadia 9 | 10 | script: 11 | - go test -v 12 | 13 | notifications: 14 | email: false 15 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/convey/convey.goconvey: -------------------------------------------------------------------------------- 1 | #ignore 2 | -timeout=1s 3 | #-covermode=count 4 | #-coverpkg=github.com/smartystreets/goconvey/convey,github.com/smartystreets/goconvey/convey/gotest,github.com/smartystreets/goconvey/convey/reporting -------------------------------------------------------------------------------- /vendor/golang.org/x/text/.gitignore: -------------------------------------------------------------------------------- 1 | # Add no patterns to .gitignore except for files generated by the build. 2 | last-change 3 | /DATA 4 | # This file is rather large and the tests really only need to be run 5 | # after generation. 6 | /unicode/norm/data_test.go -------------------------------------------------------------------------------- /vendor/golang.org/x/text/internal/export/README: -------------------------------------------------------------------------------- 1 | The export directory contains packages that are generated using the x/text 2 | infrastructure, but live elsewhere. 3 | At some point we can expose some of the infrastructure, but for now this 4 | is not done. 5 | -------------------------------------------------------------------------------- /frontend/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | haoma 6 | 7 | 8 |
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/FontAwesome/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/FontAwesome/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/FontAwesome/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/FontAwesome/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/FontAwesome/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/FontAwesome/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/FontAwesome/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wwek/haoma/HEAD/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/FontAwesome/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/encoding/json/stream_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package json 4 | 5 | import "testing" 6 | 7 | func TestHTTPDecoding(t *testing.T) { 8 | t.Skip("network access is not supported by GopherJS") 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/sync/export_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package sync 4 | 5 | // Referenced by tests, need to have no-op implementations. 6 | var Runtime_procPin = func() int { return 0 } 7 | var Runtime_procUnpin = func() {} 8 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/math/big/big.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package big 4 | 5 | // TODO: This is a workaround for https://github.com/gopherjs/gopherjs/issues/652. 6 | // Remove after that issue is resolved. 7 | type Word uintptr 8 | -------------------------------------------------------------------------------- /vendor/github.com/PuerkitoBio/goquery/.gitignore: -------------------------------------------------------------------------------- 1 | # editor temporary files 2 | *.sublime-* 3 | .DS_Store 4 | *.swp 5 | #*.*# 6 | tags 7 | 8 | # direnv config 9 | .env* 10 | 11 | # test binaries 12 | *.test 13 | 14 | # coverage and profilte outputs 15 | *.out 16 | 17 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/regexp/regexp_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package regexp 4 | 5 | import ( 6 | "testing" 7 | ) 8 | 9 | func TestOnePassCutoff(t *testing.T) { 10 | t.Skip() // "Maximum call stack size exceeded" on V8 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/watch/integration_testing/sub/sub.goconvey: -------------------------------------------------------------------------------- 1 | IGNORE 2 | -short 3 | -run=TestStuff 4 | 5 | // This file's only purpose is to provide a realistic 6 | // environment from which to run integration tests 7 | // against the Watcher. 8 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/math/big/big_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package big 4 | 5 | import "testing" 6 | 7 | func TestBytes(t *testing.T) { 8 | t.Skip("broken") 9 | } 10 | 11 | func TestModSqrt(t *testing.T) { 12 | t.Skip("slow") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/version_check.go: -------------------------------------------------------------------------------- 1 | // +build !go1.10 2 | // +build go1.9 3 | 4 | package compiler 5 | 6 | const ___GOPHERJS_REQUIRES_GO_VERSION_1_9___ = true 7 | 8 | // Version is the GopherJS compiler version string. 9 | const Version = "1.9-1" 10 | -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | dist/ 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | test/unit/coverage 8 | test/e2e/reports 9 | selenium-debug.log 10 | 11 | # Editor directories and files 12 | .idea 13 | *.suo 14 | *.ntvs* 15 | *.njsproj 16 | *.sln 17 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/crypto/x509/x509.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package x509 4 | 5 | import "errors" 6 | 7 | func loadSystemRoots() (*CertPool, error) { 8 | return nil, errors.New("crypto/x509: system root pool is not available in GopherJS") 9 | } 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 | package socket 6 | 7 | func probeProtocolStack() int { return 4 } 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_dragonfly.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 | package socket 6 | 7 | func probeProtocolStack() int { return 4 } 8 | -------------------------------------------------------------------------------- /vendor/github.com/astaxie/beego/plugins/authz/authz_policy.csv: -------------------------------------------------------------------------------- 1 | p, alice, /dataset1/*, GET 2 | p, alice, /dataset1/resource1, POST 3 | p, bob, /dataset2/resource1, * 4 | p, bob, /dataset2/resource2, GET 5 | p, bob, /dataset2/folder1/*, POST 6 | p, dataset1_admin, /dataset1/*, * 7 | g, cathy, dataset1_admin -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/math/rand/rand_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package rand 4 | 5 | import "testing" 6 | 7 | func TestFloat32(t *testing.T) { 8 | t.Skip("slow") 9 | } 10 | 11 | func TestConcurrent(t *testing.T) { 12 | t.Skip("using nosync") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.2.x 5 | - 1.3.x 6 | - 1.4.x 7 | - 1.5.x 8 | - 1.6.x 9 | - 1.7.x 10 | - 1.8.x 11 | - tip 12 | 13 | install: 14 | - go get -t ./... 15 | 16 | script: go test -short -v ./... 17 | 18 | sudo: false 19 | -------------------------------------------------------------------------------- /frontend/build/dev-client.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | require('eventsource-polyfill') 3 | var hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true') 4 | 5 | hotClient.subscribe(function (event) { 6 | if (event.action === 'reload') { 7 | window.location.reload() 8 | } 9 | }) 10 | -------------------------------------------------------------------------------- /vendor/github.com/astaxie/beego/context/renderer.go: -------------------------------------------------------------------------------- 1 | package context 2 | 3 | // Renderer defines an http response renderer 4 | type Renderer interface { 5 | Render(ctx *Context) 6 | } 7 | 8 | type rendererFunc func(ctx *Context) 9 | 10 | func (f rendererFunc) Render(ctx *Context) { 11 | f(ctx) 12 | } 13 | -------------------------------------------------------------------------------- /glide.yaml: -------------------------------------------------------------------------------- 1 | package: github.com/wwek/haoma 2 | import: 3 | - package: github.com/PuerkitoBio/goquery 4 | - package: github.com/antchfx/xquery 5 | subpackages: 6 | - html 7 | - package: github.com/astaxie/beego 8 | testImport: 9 | - package: github.com/smartystreets/goconvey 10 | subpackages: 11 | - convey 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/lif/sys_solaris_amd64.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 | #include "textflag.h" 6 | 7 | TEXT ·sysvicall6(SB),NOSPLIT,$0-88 8 | JMP syscall·sysvicall6(SB) 9 | -------------------------------------------------------------------------------- /frontend/src/router/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import Router from 'vue-router' 3 | import Haoma from '@/components/Haoma' 4 | 5 | Vue.use(Router) 6 | 7 | export default new Router({ 8 | routes: [ 9 | { 10 | path: '/', 11 | name: '电话号码标记查询', 12 | component: Haoma 13 | } 14 | ] 15 | }) 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x12b 9 | sysSENDMMSG = 0x133 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x16d 9 | sysSENDMMSG = 0x176 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0xf3 9 | sysSENDMMSG = 0x10d 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mips.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x10ef 9 | sysSENDMMSG = 0x10f7 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_ppc64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x157 9 | sysSENDMMSG = 0x15d 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/collate/tools/colcmp/Makefile: -------------------------------------------------------------------------------- 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 | chars: 6 | go run ../../maketables.go -tables=chars -package=main > chars.go 7 | gofmt -w -s chars.go 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/language/go1_2.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 go1.2 6 | 7 | package language 8 | 9 | import "sort" 10 | 11 | var sortStable = sort.Stable 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/secure/doc.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 | // secure is a repository of text security related packages. 6 | package secure // import "golang.org/x/text/secure" 7 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/convey/reporting/doc.go: -------------------------------------------------------------------------------- 1 | // Package reporting contains internal functionality related 2 | // to console reporting and output. Although this package has 3 | // exported names is not intended for public consumption. See the 4 | // examples package for how to use this project. 5 | package reporting 6 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/watch/integration_testing/main.go: -------------------------------------------------------------------------------- 1 | // This file's only purpose is to provide a realistic 2 | // environment from which to run integration tests 3 | // against the Watcher. 4 | package main 5 | 6 | import "fmt" 7 | 8 | func main() { 9 | fmt.Println("Hello, World!") 10 | } 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mips64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x14ae 9 | sysSENDMMSG = 0x14b6 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mips64le.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x14ae 9 | sysSENDMMSG = 0x14b6 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mipsle.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x10ef 9 | sysSENDMMSG = 0x10f7 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_ppc64le.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x157 9 | sysSENDMMSG = 0x15d 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/h2demo/Makefile: -------------------------------------------------------------------------------- 1 | h2demo.linux: h2demo.go 2 | GOOS=linux go build --tags=h2demo -o h2demo.linux . 3 | 4 | FORCE: 5 | 6 | upload: FORCE 7 | go install golang.org/x/build/cmd/upload 8 | upload --verbose --osarch=linux-amd64 --tags=h2demo --file=go:golang.org/x/net/http2/h2demo --public http2-demo-server-tls/h2demo 9 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/convey/reporting/console.go: -------------------------------------------------------------------------------- 1 | package reporting 2 | 3 | import ( 4 | "fmt" 5 | "io" 6 | ) 7 | 8 | type console struct{} 9 | 10 | func (self *console) Write(p []byte) (n int, err error) { 11 | return fmt.Print(string(p)) 12 | } 13 | 14 | func NewConsole() io.Writer { 15 | return new(console) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/executor/contract.go: -------------------------------------------------------------------------------- 1 | package executor 2 | 3 | import "github.com/smartystreets/goconvey/web/server/contract" 4 | 5 | type Parser interface { 6 | Parse([]*contract.Package) 7 | } 8 | 9 | type Tester interface { 10 | SetBatchSize(batchSize int) 11 | TestAll(folders []*contract.Package) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/icmp/sys_freebsd.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 | package icmp 6 | 7 | import "syscall" 8 | 9 | func init() { 10 | freebsdVersion, _ = syscall.SysctlUint32("kern.osreldate") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/msghdr_openbsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 | package socket 6 | 7 | func (h *msghdr) setIov(vs []iovec) { 8 | h.Iov = &vs[0] 9 | h.Iovlen = uint32(len(vs)) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/antchfx/xquery/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.6 5 | - 1.7 6 | - 1.8 7 | 8 | install: 9 | - go get golang.org/x/net/html/charset 10 | - go get golang.org/x/net/html 11 | - go get github.com/antchfx/xpath 12 | - go get github.com/mattn/goveralls 13 | 14 | script: 15 | - $HOME/gopath/bin/goveralls -service=travis-ci -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/os/signal/signal.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package signal 4 | 5 | // Package signal is not implemented for GOARCH=js. 6 | 7 | func signal_disable(uint32) {} 8 | func signal_enable(uint32) {} 9 | func signal_ignore(uint32) {} 10 | func signal_recv() uint32 { return 0 } 11 | 12 | func loop() {} 13 | -------------------------------------------------------------------------------- /vendor/github.com/astaxie/beego/plugins/authz/authz_model.conf: -------------------------------------------------------------------------------- 1 | [request_definition] 2 | r = sub, obj, act 3 | 4 | [policy_definition] 5 | p = sub, obj, act 6 | 7 | [role_definition] 8 | g = _, _ 9 | 10 | [policy_effect] 11 | e = some(where (p.eft == allow)) 12 | 13 | [matchers] 14 | m = g(r.sub, p.sub) && keyMatch(r.obj, p.obj) && (r.act == p.act || p.act == "*") -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/examples/doc.go: -------------------------------------------------------------------------------- 1 | // Package examples contains, well, examples of how to use goconvey to 2 | // specify behavior of a system under test. It contains a well-known example 3 | // by Robert C. Martin called "Bowling Game Kata" as well as another very 4 | // trivial example that demonstrates Reset() and some of the assertions. 5 | package examples 6 | -------------------------------------------------------------------------------- /libs/env/env.go: -------------------------------------------------------------------------------- 1 | package env 2 | 3 | import ( 4 | "os" 5 | "runtime" 6 | ) 7 | 8 | var ostype = runtime.GOOS 9 | 10 | func GetProjectPath() string { 11 | var projectPath string 12 | projectPath, _ = os.Getwd() 13 | return projectPath 14 | } 15 | 16 | func GetPlatformBinExt() string { 17 | if ostype == "windows" { 18 | return ".exe" 19 | } 20 | return "" 21 | } 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/bpf/setter.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 | package bpf 6 | 7 | // A Setter is a type which can attach a compiled BPF filter to itself. 8 | type Setter interface { 9 | SetBPF(filter []RawInstruction) error 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/fuzz/fuzz.go: -------------------------------------------------------------------------------- 1 | package fuzz 2 | 3 | import "github.com/andybalholm/cascadia" 4 | 5 | // Fuzz is the entrypoint used by the go-fuzz framework 6 | func Fuzz(data []byte) int { 7 | sel, err := cascadia.Compile(string(data)) 8 | if err != nil { 9 | if sel != nil { 10 | panic("sel != nil on error") 11 | } 12 | return 0 13 | } 14 | return 1 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/iovec_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 socket 8 | 9 | type iovec struct{} 10 | 11 | func (v *iovec) set(b []byte) {} 12 | -------------------------------------------------------------------------------- /frontend/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | ["env", { 4 | "modules": false, 5 | "targets": { 6 | "browsers": ["> 1%", "last 2 versions", "not ie <= 8"] 7 | } 8 | }], 9 | "stage-2" 10 | ], 11 | "plugins": ["transform-runtime"], 12 | "env": { 13 | "test": { 14 | "presets": ["env", "stage-2"], 15 | "plugins": ["istanbul"] 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/msghdr_bsdvar.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 netbsd 6 | 7 | package socket 8 | 9 | func (h *msghdr) setIov(vs []iovec) { 10 | h.Iov = &vs[0] 11 | h.Iovlen = int32(len(vs)) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_386.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 | #include "textflag.h" 6 | 7 | TEXT ·socketcall(SB),NOSPLIT,$0-36 8 | JMP syscall·socketcall(SB) 9 | 10 | TEXT ·rawsocketcall(SB),NOSPLIT,$0-36 11 | JMP syscall·rawsocketcall(SB) 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/webdav/file_go1.7.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 | // +build go1.7 6 | 7 | package webdav 8 | 9 | import ( 10 | "context" 11 | "net/http" 12 | ) 13 | 14 | func getContext(r *http.Request) context.Context { 15 | return r.Context() 16 | } 17 | -------------------------------------------------------------------------------- /frontend/test/unit/specs/Hello.spec.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import Hello from '@/components/Hello' 3 | 4 | describe('Hello.vue', () => { 5 | it('should render correct contents', () => { 6 | const Constructor = Vue.extend(Hello) 7 | const vm = new Constructor().$mount() 8 | expect(vm.$el.querySelector('.hello h1').textContent) 9 | .to.equal('Welcome to Your Vue.js App') 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/net/http/cookiejar/example_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package cookiejar_test 4 | 5 | import "fmt" 6 | 7 | func ExampleNew() { 8 | // network access not supported by GopherJS, and this test depends on httptest.NewServer 9 | 10 | fmt.Println(`After 1st request: 11 | Flavor: Chocolate Chip 12 | After 2nd request: 13 | Flavor: Oatmeal Raisin`) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/testdata/webkit/scripted/adoption01.dat: -------------------------------------------------------------------------------- 1 | #data 2 |

TEXT 3 | #errors 4 | #document 5 | | 6 | | 7 | | 8 | |

9 | | 10 | | id="B" 11 | | 13 | 14 | 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/internal/testtext/gccgo.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 | // +build gccgo 6 | 7 | package testtext 8 | 9 | // AllocsPerRun always returns 0 for gccgo until gccgo implements escape 10 | // analysis equal or better to that of gc. 11 | func AllocsPerRun(runs int, f func()) (avg float64) { return 0 } 12 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/io/io_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package io_test 4 | 5 | import ( 6 | "testing" 7 | ) 8 | 9 | func TestMultiWriter_WriteStringSingleAlloc(t *testing.T) { 10 | t.Skip() 11 | } 12 | 13 | func TestMultiReaderFlatten(t *testing.T) { 14 | t.Skip() 15 | } 16 | 17 | func TestMultiReaderFreesExhaustedReaders(t *testing.T) { 18 | t.Skip("test relies on runtime.SetFinalizer, which GopherJS does not implement") 19 | } 20 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/cmsghdr_linux_64bit.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 arm64 amd64 ppc64 ppc64le mips64 mips64le s390x 6 | // +build linux 7 | 8 | package socket 9 | 10 | func (h *cmsghdr) set(l, lvl, typ int) { 11 | h.Len = uint64(l) 12 | h.Level = int32(lvl) 13 | h.Type = int32(typ) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv4/sys_bpf_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 | 7 | package ipv4 8 | 9 | import ( 10 | "golang.org/x/net/bpf" 11 | "golang.org/x/net/internal/socket" 12 | ) 13 | 14 | func (so *sockOpt) setAttachFilter(c *socket.Conn, f []bpf.RawInstruction) error { 15 | return errOpNoSupport 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv6/sys_bpf_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 | 7 | package ipv6 8 | 9 | import ( 10 | "golang.org/x/net/bpf" 11 | "golang.org/x/net/internal/socket" 12 | ) 13 | 14 | func (so *sockOpt) setAttachFilter(c *socket.Conn, f []bpf.RawInstruction) error { 15 | return errOpNoSupport 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/language/common.go: -------------------------------------------------------------------------------- 1 | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. 2 | 3 | package language 4 | 5 | // This file contains code common to the maketables.go and the package code. 6 | 7 | // langAliasType is the type of an alias in langAliasMap. 8 | type langAliasType int8 9 | 10 | const ( 11 | langDeprecated langAliasType = iota 12 | langMacro 13 | langLegacy 14 | 15 | langAliasTypeUnknown langAliasType = -1 16 | ) 17 | -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/wwek/haoma 2 | 3 | require ( 4 | github.com/PuerkitoBio/goquery v0.0.0-20170816133831-ce645ea5e67a 5 | github.com/andybalholm/cascadia v0.0.0-20161224141413-349dd0209470 6 | github.com/antchfx/xpath v0.0.0-20170728053731-b5c552e1acbd 7 | github.com/antchfx/xquery v0.0.0-20170730121040-eb8c3c172607 8 | github.com/astaxie/beego v1.9.0 9 | golang.org/x/net v0.0.0-20170824174428-57efc9c3d9f9 10 | golang.org/x/text v0.0.0-20170825072521-ac87088df8ef 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/cmsghdr.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 socket 8 | 9 | func (h *cmsghdr) len() int { return int(h.Len) } 10 | func (h *cmsghdr) lvl() int { return int(h.Level) } 11 | func (h *cmsghdr) typ() int { return int(h.Type) } 12 | -------------------------------------------------------------------------------- /vendor/github.com/antchfx/xpath/.gitignore: -------------------------------------------------------------------------------- 1 | # vscode 2 | .vscode 3 | debug 4 | *.test 5 | 6 | ./build 7 | 8 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 9 | *.o 10 | *.a 11 | *.so 12 | 13 | 14 | # Folders 15 | _obj 16 | _test 17 | 18 | # Architecture specific extensions/prefixes 19 | *.[568vq] 20 | [568vq].out 21 | 22 | *.cgo1.go 23 | *.cgo2.c 24 | _cgo_defun.c 25 | _cgo_gotypes.go 26 | _cgo_export.* 27 | 28 | _testmain.go 29 | 30 | *.exe 31 | *.test 32 | *.prof -------------------------------------------------------------------------------- /vendor/github.com/antchfx/xquery/.gitignore: -------------------------------------------------------------------------------- 1 | # vscode 2 | .vscode 3 | debug 4 | *.test 5 | 6 | ./build 7 | 8 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 9 | *.o 10 | *.a 11 | *.so 12 | 13 | 14 | # Folders 15 | _obj 16 | _test 17 | 18 | # Architecture specific extensions/prefixes 19 | *.[568vq] 20 | [568vq].out 21 | 22 | *.cgo1.go 23 | *.cgo2.c 24 | _cgo_defun.c 25 | _cgo_gotypes.go 26 | _cgo_export.* 27 | 28 | _testmain.go 29 | 30 | *.exe 31 | *.test 32 | *.prof -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv4/control_windows.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 | package ipv4 6 | 7 | import ( 8 | "syscall" 9 | 10 | "golang.org/x/net/internal/socket" 11 | ) 12 | 13 | func setControlMessage(c *socket.Conn, opt *rawOpt, cf ControlFlags, on bool) error { 14 | // TODO(mikio): implement this 15 | return syscall.EWINDOWS 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv6/control_windows.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 | package ipv6 6 | 7 | import ( 8 | "syscall" 9 | 10 | "golang.org/x/net/internal/socket" 11 | ) 12 | 13 | func setControlMessage(c *socket.Conn, opt *rawOpt, cf ControlFlags, on bool) error { 14 | // TODO(mikio): implement this 15 | return syscall.EWINDOWS 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/iovec_32bit.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 arm mips mipsle 386 6 | // +build darwin dragonfly freebsd linux netbsd openbsd 7 | 8 | package socket 9 | 10 | import "unsafe" 11 | 12 | func (v *iovec) set(b []byte) { 13 | v.Base = (*byte)(unsafe.Pointer(&b[0])) 14 | v.Len = uint32(len(b)) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/astaxie/beego/logs/alils/config.go: -------------------------------------------------------------------------------- 1 | package alils 2 | 3 | const ( 4 | version = "0.5.0" // SDK version 5 | signatureMethod = "hmac-sha1" // Signature method 6 | 7 | // OffsetNewest stands for the log head offset, i.e. the offset that will be 8 | // assigned to the next message that will be produced to the shard. 9 | OffsetNewest = "end" 10 | // OffsetOldest stands for the oldest offset available on the logstore for a 11 | // shard. 12 | OffsetOldest = "begin" 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv4/control_stub.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,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows 6 | 7 | package ipv4 8 | 9 | import "golang.org/x/net/internal/socket" 10 | 11 | func setControlMessage(c *socket.Conn, opt *rawOpt, cf ControlFlags, on bool) error { 12 | return errOpNoSupport 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv6/control_stub.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 !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows 6 | 7 | package ipv6 8 | 9 | import "golang.org/x/net/internal/socket" 10 | 11 | func setControlMessage(c *socket.Conn, opt *rawOpt, cf ControlFlags, on bool) error { 12 | return errOpNoSupport 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/astaxie/beego/.github/ISSUE_TEMPLATE: -------------------------------------------------------------------------------- 1 | Please answer these questions before submitting your issue. Thanks! 2 | 3 | 1. What version of Go and beego are you using (`bee version`)? 4 | 5 | 6 | 2. What operating system and processor architecture are you using (`go env`)? 7 | 8 | 9 | 3. What did you do? 10 | If possible, provide a recipe for reproducing the error. 11 | A complete runnable program is good. 12 | 13 | 14 | 4. What did you expect to see? 15 | 16 | 17 | 5. What did you see instead? -------------------------------------------------------------------------------- /vendor/github.com/jtolds/gls/gen_sym.go: -------------------------------------------------------------------------------- 1 | package gls 2 | 3 | import ( 4 | "sync" 5 | ) 6 | 7 | var ( 8 | keyMtx sync.Mutex 9 | keyCounter uint64 10 | ) 11 | 12 | // ContextKey is a throwaway value you can use as a key to a ContextManager 13 | type ContextKey struct{ id uint64 } 14 | 15 | // GenSym will return a brand new, never-before-used ContextKey 16 | func GenSym() ContextKey { 17 | keyMtx.Lock() 18 | defer keyMtx.Unlock() 19 | keyCounter += 1 20 | return ContextKey{id: keyCounter} 21 | } 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/language/Makefile: -------------------------------------------------------------------------------- 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 | CLEANFILES+=maketables 6 | 7 | maketables: maketables.go 8 | go build $^ 9 | 10 | tables: maketables 11 | ./maketables > tables.go 12 | gofmt -w -s tables.go 13 | 14 | # Build (but do not run) maketables during testing, 15 | # just to make sure it still compiles. 16 | testshort: maketables 17 | -------------------------------------------------------------------------------- /frontend/build/vue-loader.conf.js: -------------------------------------------------------------------------------- 1 | var utils = require('./utils') 2 | var config = require('../config') 3 | var isProduction = process.env.NODE_ENV === 'production' 4 | 5 | module.exports = { 6 | loaders: utils.cssLoaders({ 7 | sourceMap: isProduction 8 | ? config.build.productionSourceMap 9 | : config.dev.cssSourceMap, 10 | extract: isProduction 11 | }), 12 | transformToRequire: { 13 | video: 'src', 14 | source: 'src', 15 | img: 'src', 16 | image: 'xlink:href' 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/iovec_64bit.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 arm64 amd64 ppc64 ppc64le mips64 mips64le s390x 6 | // +build darwin dragonfly freebsd linux netbsd openbsd 7 | 8 | package socket 9 | 10 | import "unsafe" 11 | 12 | func (v *iovec) set(b []byte) { 13 | v.Base = (*byte)(unsafe.Pointer(&b[0])) 14 | v.Len = uint64(len(b)) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/lif/sys.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 solaris 6 | 7 | package lif 8 | 9 | import "unsafe" 10 | 11 | var nativeEndian binaryByteOrder 12 | 13 | func init() { 14 | i := uint32(1) 15 | b := (*[4]byte)(unsafe.Pointer(&i)) 16 | if b[0] == 1 { 17 | nativeEndian = littleEndian 18 | } else { 19 | nativeEndian = bigEndian 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/proxy/direct.go: -------------------------------------------------------------------------------- 1 | // Copyright 2011 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 | package proxy 6 | 7 | import ( 8 | "net" 9 | ) 10 | 11 | type direct struct{} 12 | 13 | // Direct is a direct proxy: one that makes network connections directly. 14 | var Direct = direct{} 15 | 16 | func (direct) Dial(network, addr string) (net.Conn, error) { 17 | return net.Dial(network, addr) 18 | } 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/internal/testtext/go1_7.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 | // +build go1.7 6 | 7 | package testtext 8 | 9 | import "testing" 10 | 11 | func Run(t *testing.T, name string, fn func(t *testing.T)) bool { 12 | return t.Run(name, fn) 13 | } 14 | 15 | func Bench(b *testing.B, name string, fn func(b *testing.B)) bool { 16 | return b.Run(name, fn) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/charset/testdata/README: -------------------------------------------------------------------------------- 1 | These test cases come from 2 | http://www.w3.org/International/tests/repository/html5/the-input-byte-stream/results-basics 3 | 4 | Distributed under both the W3C Test Suite License 5 | (http://www.w3.org/Consortium/Legal/2008/04-testsuite-license) 6 | and the W3C 3-clause BSD License 7 | (http://www.w3.org/Consortium/Legal/2008/03-bsd-license). 8 | To contribute to a W3C Test Suite, see the policies and contribution 9 | forms (http://www.w3.org/2004/10/27-testcases). 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/webdav/internal/xml/README: -------------------------------------------------------------------------------- 1 | This is a fork of the encoding/xml package at ca1d6c4, the last commit before 2 | https://go.googlesource.com/go/+/c0d6d33 "encoding/xml: restore Go 1.4 name 3 | space behavior" made late in the lead-up to the Go 1.5 release. 4 | 5 | The list of encoding/xml changes is at 6 | https://go.googlesource.com/go/+log/master/src/encoding/xml 7 | 8 | This fork is temporary, and I (nigeltao) expect to revert it after Go 1.6 is 9 | released. 10 | 11 | See http://golang.org/issue/11841 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/width/kind_string.go: -------------------------------------------------------------------------------- 1 | // Code generated by "stringer -type=Kind"; DO NOT EDIT. 2 | 3 | package width 4 | 5 | import "fmt" 6 | 7 | const _Kind_name = "NeutralEastAsianAmbiguousEastAsianWideEastAsianNarrowEastAsianFullwidthEastAsianHalfwidth" 8 | 9 | var _Kind_index = [...]uint8{0, 7, 25, 38, 53, 71, 89} 10 | 11 | func (i Kind) String() string { 12 | if i < 0 || i >= Kind(len(_Kind_index)-1) { 13 | return fmt.Sprintf("Kind(%d)", i) 14 | } 15 | return _Kind_name[_Kind_index[i]:_Kind_index[i+1]] 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/ipv6/sys_asmreq_stub.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 !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows 6 | 7 | package ipv6 8 | 9 | import ( 10 | "net" 11 | 12 | "golang.org/x/net/internal/socket" 13 | ) 14 | 15 | func (so *sockOpt) setIPMreq(c *socket.Conn, ifi *net.Interface, grp net.IP) error { 16 | return errOpNoSupport 17 | } 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/unicode/cldr/examples_test.go: -------------------------------------------------------------------------------- 1 | package cldr_test 2 | 3 | import ( 4 | "fmt" 5 | 6 | "golang.org/x/text/unicode/cldr" 7 | ) 8 | 9 | func ExampleSlice() { 10 | var dr *cldr.CLDR // assume this is initialized 11 | 12 | x, _ := dr.LDML("en") 13 | cs := x.Collations.Collation 14 | // remove all but the default 15 | cldr.MakeSlice(&cs).Filter(func(e cldr.Elem) bool { 16 | return e.GetCommon().Type != x.Collations.Default() 17 | }) 18 | for i, c := range cs { 19 | fmt.Println(i, c.Type) 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/not_go16.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 !go1.6 6 | 7 | package http2 8 | 9 | import ( 10 | "net/http" 11 | "time" 12 | ) 13 | 14 | func configureTransport(t1 *http.Transport) (*Transport, error) { 15 | return nil, errTransportVersion 16 | } 17 | 18 | func transportExpectContinueTimeout(t1 *http.Transport) time.Duration { 19 | return 0 20 | 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/examples/examples.goconvey: -------------------------------------------------------------------------------- 1 | // Uncomment the next line to disable the package when running the GoConvey UI: 2 | //IGNORE 3 | 4 | // Uncomment the next line to limit testing to the specified test function name pattern: 5 | //-run=TestAssertionsAreAvailableFromConveyPackage 6 | 7 | // Uncomment the next line to limit testing to those tests that don't bail when testing.Short() is true: 8 | //-short 9 | 10 | // include any additional `go test` flags or application-specific flags below: 11 | 12 | -timeout=1s 13 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/crypto/x509/x509_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package x509 4 | 5 | import "testing" 6 | 7 | func TestSystemCertPool(t *testing.T) { 8 | t.Skip("no system roots") 9 | } 10 | 11 | func TestSystemRoots(t *testing.T) { 12 | t.Skip("no system roots") 13 | } 14 | 15 | func TestEnvVars(t *testing.T) { 16 | t.Skip("no system roots") 17 | } 18 | 19 | func TestSystemVerify(t *testing.T) { 20 | t.Skip("no system") 21 | } 22 | 23 | func TestImports(t *testing.T) { 24 | t.Skip("no system") 25 | } 26 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/bpf/testdata/all_instructions.bpf: -------------------------------------------------------------------------------- 1 | 50,0 0 0 42,1 0 0 42,96 0 0 3,97 0 0 3,48 0 0 42,40 0 0 42,32 0 0 42,80 0 0 42,72 0 0 42,64 0 0 42,177 0 0 42,128 0 0 0,32 0 0 4294963200,32 0 0 4294963204,32 0 0 4294963256,2 0 0 3,3 0 0 3,4 0 0 42,20 0 0 42,36 0 0 42,52 0 0 42,68 0 0 42,84 0 0 42,100 0 0 42,116 0 0 42,148 0 0 42,164 0 0 42,12 0 0 0,28 0 0 0,44 0 0 0,60 0 0 0,76 0 0 0,92 0 0 0,108 0 0 0,124 0 0 0,156 0 0 0,172 0 0 0,132 0 0 0,5 0 0 10,21 8 9 42,21 0 8 42,53 0 7 42,37 0 6 42,37 4 5 42,53 3 4 42,69 2 3 42,7 0 0 0,135 0 0 0,22 0 0 0,6 0 0 0, 2 | -------------------------------------------------------------------------------- /frontend/test/unit/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | 3 | Vue.config.productionTip = false 4 | 5 | // require all test files (files that ends with .spec.js) 6 | const testsContext = require.context('./specs', true, /\.spec$/) 7 | testsContext.keys().forEach(testsContext) 8 | 9 | // require all src files except main.js for coverage. 10 | // you can also change this to match only the subset of files that 11 | // you want coverage for. 12 | const srcContext = require.context('../../src', true, /^\.\/(?!main(\.js)?$)/) 13 | srcContext.keys().forEach(srcContext) 14 | -------------------------------------------------------------------------------- /vendor/github.com/astaxie/beego/plugins/apiauth/apiauth_test.go: -------------------------------------------------------------------------------- 1 | package apiauth 2 | 3 | import ( 4 | "net/url" 5 | "testing" 6 | ) 7 | 8 | func TestSignature(t *testing.T) { 9 | appsecret := "beego secret" 10 | method := "GET" 11 | RequestURL := "http://localhost/test/url" 12 | params := make(url.Values) 13 | params.Add("arg1", "hello") 14 | params.Add("arg2", "beego") 15 | 16 | signature := "mFdpvLh48ca4mDVEItE9++AKKQ/IVca7O/ZyyB8hR58=" 17 | if Signature(appsecret, method, params, RequestURL) != signature { 18 | t.Error("Signature error") 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/testdata/webkit/adoption02.dat: -------------------------------------------------------------------------------- 1 | #data 2 | 12

34 3 | #errors 4 | #document 5 | | 6 | | 7 | | 8 | | 9 | | "1" 10 | | 11 | | "2" 12 | | 13 | |

14 | | 15 | | "3" 16 | | "4" 17 | 18 | #data 19 |

20 | #errors 21 | #document 22 | | 23 | | 24 | | 25 | | 26 | |
27 | | 28 | |