Skip to content

Commit 54cc3cb

Browse files
author
彭博
committed
支持登录并保存 session cookie
1 parent b68fd23 commit 54cc3cb

File tree

9 files changed

+775
-0
lines changed

9 files changed

+775
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.cookie
2+
vendor

Gopkg.lock

Lines changed: 152 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Gopkg.toml example
2+
#
3+
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
4+
# for detailed Gopkg.toml documentation.
5+
#
6+
# required = ["github.com/user/thing/cmd/thing"]
7+
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
8+
#
9+
# [[constraint]]
10+
# name = "github.com/user/project"
11+
# version = "1.0.0"
12+
#
13+
# [[constraint]]
14+
# name = "github.com/user/project2"
15+
# branch = "dev"
16+
# source = "github.com/myfork/project2"
17+
#
18+
# [[override]]
19+
# name = "github.com/x/y"
20+
# version = "2.4.0"
21+
#
22+
# [prune]
23+
# non-go = false
24+
# go-tests = true
25+
# unused-packages = true
26+
27+
28+
[[constraint]]
29+
name = "github.com/mitchellh/go-homedir"
30+
version = "1.0.0"
31+
32+
[[constraint]]
33+
name = "github.com/spf13/cobra"
34+
version = "0.0.3"
35+
36+
[[constraint]]
37+
name = "github.com/spf13/viper"
38+
version = "1.1.0"
39+
40+
[[constraint]]
41+
branch = "master"
42+
name = "golang.org/x/crypto"
43+
44+
[[constraint]]
45+
branch = "master"
46+
name = "golang.org/x/net"
47+
48+
[prune]
49+
go-tests = true
50+
unused-packages = true

0 commit comments

Comments
 (0)