Updated mogrus, new remote on source.wtfteam.pro
This commit is contained in:
parent
a841f916d8
commit
7d19a312eb
32
Gopkg.lock
generated
32
Gopkg.lock
generated
@ -4,48 +4,54 @@
|
|||||||
[[projects]]
|
[[projects]]
|
||||||
name = "github.com/sirupsen/logrus"
|
name = "github.com/sirupsen/logrus"
|
||||||
packages = ["."]
|
packages = ["."]
|
||||||
revision = "f006c2ac4710855cf0f916dd6b77acf6b048dc6e"
|
revision = "d682213848ed68c0a260ca37d6dd5ace8423f5ba"
|
||||||
version = "v1.0.3"
|
version = "v1.0.4"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
name = "golang.org/x/crypto"
|
name = "golang.org/x/crypto"
|
||||||
packages = ["ssh/terminal"]
|
packages = ["ssh/terminal"]
|
||||||
revision = "2509b142fb2b797aa7587dad548f113b2c0f20ce"
|
revision = "3a6c3ce65c4f0844ac396b02aebda1496fd2ac9d"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
name = "golang.org/x/net"
|
name = "golang.org/x/net"
|
||||||
packages = ["html","html/atom"]
|
packages = [
|
||||||
revision = "7b572d500b0702f1ea30a47083ce2e1e5c61edba"
|
"html",
|
||||||
|
"html/atom"
|
||||||
|
]
|
||||||
|
revision = "f5dfe339be1d06f81b22525fe34671ee7d2c8904"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
name = "golang.org/x/sys"
|
name = "golang.org/x/sys"
|
||||||
packages = ["unix","windows"]
|
packages = [
|
||||||
revision = "164713f0dfcec4e80be8b53e1f0811f5f0d84578"
|
"unix",
|
||||||
|
"windows"
|
||||||
|
]
|
||||||
|
revision = "37707fdb30a5b38865cfb95e5aab41707daec7fd"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "v2"
|
branch = "v2"
|
||||||
name = "gopkg.in/yaml.v2"
|
name = "gopkg.in/yaml.v2"
|
||||||
packages = ["."]
|
packages = ["."]
|
||||||
revision = "eb3733d160e74a9c7e442f435eb3bea458e1d19f"
|
revision = "d670f9405373e636a5a2765eea47fac0c9bc91a4"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
name = "lab.pztrn.name/golibs/flagger"
|
name = "source.pztrn.name/golibs/flagger"
|
||||||
packages = ["."]
|
packages = ["."]
|
||||||
revision = "b1abee64b9076d189411e666a4c141176bc007f7"
|
revision = "c9b4726e1787adb01126cdf9a7932e2bccbb51a7"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
name = "lab.pztrn.name/golibs/mogrus"
|
name = "source.pztrn.name/golibs/mogrus"
|
||||||
packages = ["."]
|
packages = ["."]
|
||||||
revision = "bdf5f86147cf30852a0e7d03613ca71f6851e747"
|
revision = "2e3a9d38c8e4b0036f714f88ef0fe9fc14b4c6b8"
|
||||||
|
|
||||||
[solve-meta]
|
[solve-meta]
|
||||||
analyzer-name = "dep"
|
analyzer-name = "dep"
|
||||||
analyzer-version = 1
|
analyzer-version = 1
|
||||||
inputs-digest = "0168622020563ff2d9261221f045328fa18a0961e7a613a5a5a4a212c24f2b51"
|
inputs-digest = "d71dfdedcb7e98a5a710ecf4ae73a0adfbea0a030f8119908bc141b91d44a17e"
|
||||||
solver-name = "gps-cdcl"
|
solver-name = "gps-cdcl"
|
||||||
solver-version = 1
|
solver-version = 1
|
||||||
|
22
Gopkg.toml
22
Gopkg.toml
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
# Gopkg.toml example
|
# Gopkg.toml example
|
||||||
#
|
#
|
||||||
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
|
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
|
||||||
@ -17,18 +16,31 @@
|
|||||||
# source = "github.com/myfork/project2"
|
# source = "github.com/myfork/project2"
|
||||||
#
|
#
|
||||||
# [[override]]
|
# [[override]]
|
||||||
# name = "github.com/x/y"
|
# name = "github.com/x/y"
|
||||||
# version = "2.4.0"
|
# version = "2.4.0"
|
||||||
|
#
|
||||||
|
# [prune]
|
||||||
|
# non-go = false
|
||||||
|
# go-tests = true
|
||||||
|
# unused-packages = true
|
||||||
|
|
||||||
|
|
||||||
|
[[constraint]]
|
||||||
|
branch = "master"
|
||||||
|
name = "golang.org/x/net"
|
||||||
|
|
||||||
[[constraint]]
|
[[constraint]]
|
||||||
branch = "v2"
|
branch = "v2"
|
||||||
name = "gopkg.in/yaml.v2"
|
name = "gopkg.in/yaml.v2"
|
||||||
|
|
||||||
[[constraint]]
|
[[constraint]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
name = "lab.pztrn.name/golibs/mogrus"
|
name = "source.pztrn.name/golibs/flagger"
|
||||||
|
|
||||||
[[constraint]]
|
[[constraint]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
name = "lab.pztrn.name/golibs/flagger"
|
name = "source.pztrn.name/golibs/mogrus"
|
||||||
|
|
||||||
|
[prune]
|
||||||
|
go-tests = true
|
||||||
|
unused-packages = true
|
||||||
|
@ -2,10 +2,10 @@ package api
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
// local
|
// local
|
||||||
"lab.pztrn.name/fat0troll/wind8_fetcher/lib/appcontext"
|
"source.wtfteam.pro/wind8/wind8_fetcher/lib/appcontext"
|
||||||
|
|
||||||
// actions
|
// actions
|
||||||
"lab.pztrn.name/fat0troll/wind8_fetcher/api/fetch_request"
|
"source.wtfteam.pro/wind8/wind8_fetcher/api/fetch_request"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -2,7 +2,7 @@ package fetchrequest
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
// local
|
// local
|
||||||
"lab.pztrn.name/fat0troll/wind8_fetcher/lib/appcontext"
|
"source.wtfteam.pro/wind8/wind8_fetcher/lib/appcontext"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -2,8 +2,8 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
// local
|
// local
|
||||||
"lab.pztrn.name/fat0troll/wind8_fetcher/api"
|
"source.wtfteam.pro/wind8/wind8_fetcher/api"
|
||||||
"lab.pztrn.name/fat0troll/wind8_fetcher/lib/appcontext"
|
"source.wtfteam.pro/wind8/wind8_fetcher/lib/appcontext"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@ -6,10 +6,10 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
// 3rd-party
|
// 3rd-party
|
||||||
"lab.pztrn.name/golibs/flagger"
|
"source.pztrn.name/golibs/flagger"
|
||||||
"lab.pztrn.name/golibs/mogrus"
|
"source.pztrn.name/golibs/mogrus"
|
||||||
// local
|
// local
|
||||||
"lab.pztrn.name/fat0troll/wind8_fetcher/lib/config"
|
"source.wtfteam.pro/wind8/wind8_fetcher/lib/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Context is an application context struct
|
// Context is an application context struct
|
||||||
@ -25,7 +25,7 @@ func (c *Context) Init() {
|
|||||||
l := mogrus.New()
|
l := mogrus.New()
|
||||||
l.Initialize()
|
l.Initialize()
|
||||||
c.Log = l.CreateLogger("stdout")
|
c.Log = l.CreateLogger("stdout")
|
||||||
c.Log.CreateOutput("stdout", os.Stdout, true)
|
c.Log.CreateOutput("stdout", os.Stdout, true, "debug")
|
||||||
|
|
||||||
c.Cfg = config.New()
|
c.Cfg = config.New()
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
// 3rd-party
|
// 3rd-party
|
||||||
"gopkg.in/yaml.v2"
|
"gopkg.in/yaml.v2"
|
||||||
"lab.pztrn.name/golibs/mogrus"
|
"source.pztrn.name/golibs/mogrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
// HTTPServerConfiguration handles HTTP server configuration in config file
|
// HTTPServerConfiguration handles HTTP server configuration in config file
|
||||||
|
Reference in New Issue
Block a user