Skip to content
Permalink
Browse files

Update go mod vendor path

  • Loading branch information...
Raggaer committed Jun 6, 2019
1 parent 2251923 commit 9770c53d4ad279a4af2d9fc0a272a0a279c20df5
Showing with 41 additions and 38 deletions.
  1. +1 −1 app/config/config.go
  2. +4 −4 app/controllers/controller.go
  3. +1 −1 app/router/router.go
  4. +2 −2 app/template/template.go
  5. +5 −7 go.mod
  6. +14 −10 go.sum
  7. +9 −8 main.go
  8. +5 −5 test/suite.go
@@ -3,7 +3,7 @@ package config
import (
"fmt"

"github.com/raggaer/bison/app/lua"
"github.com/Raggaer/bison/app/lua"
glua "github.com/yuin/gopher-lua"
)

@@ -6,12 +6,12 @@ import (
"log"
"path/filepath"

"github.com/Raggaer/bison/app/config"
"github.com/Raggaer/bison/app/lua"
"github.com/Raggaer/bison/app/router"
"github.com/Raggaer/bison/app/template"
"github.com/fasthttp-contrib/sessions"
cache "github.com/patrickmn/go-cache"
"github.com/raggaer/bison/app/config"
"github.com/raggaer/bison/app/lua"
"github.com/raggaer/bison/app/router"
"github.com/raggaer/bison/app/template"
"github.com/valyala/fasthttp"
glua "github.com/yuin/gopher-lua"
)
@@ -5,7 +5,7 @@ import (
"net/http"
"strings"

"github.com/raggaer/bison/app/lua"
"github.com/Raggaer/bison/app/lua"
glua "github.com/yuin/gopher-lua"
)

@@ -6,8 +6,8 @@ import (
"path/filepath"
"strings"

"github.com/raggaer/bison/app/config"
"github.com/raggaer/bison/app/lua"
"github.com/Raggaer/bison/app/config"
"github.com/Raggaer/bison/app/lua"
glua "github.com/yuin/gopher-lua"
)

12 go.mod
@@ -1,14 +1,12 @@
module github.com/Raggaer/bison

go 1.12

require (
github.com/buaazp/fasthttprouter v0.1.1
github.com/clbanning/mxj v1.8.2
github.com/clbanning/mxj v1.8.4
github.com/fasthttp-contrib/sessions v0.0.0-20160905201309-74f6ac73d5d5
github.com/klauspost/compress v1.4.0
github.com/klauspost/cpuid v0.0.0-20170728055534-ae7887de9fa5
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/raggaer/bison v0.0.0-20181029005320-a37b18f60c42
github.com/valyala/bytebufferpool v1.0.0
github.com/valyala/fasthttp v0.0.0-20171207120941-e5f51c11919d
github.com/yuin/gopher-lua v0.0.0-20181008131706-f6fcaab0c612
github.com/valyala/fasthttp v1.3.0
github.com/yuin/gopher-lua v0.0.0-20190514113301-1cd887cd7036
)
24 go.sum
@@ -1,20 +1,24 @@
github.com/buaazp/fasthttprouter v0.1.1 h1:4oAnN0C3xZjylvZJdP35cxfclyn4TYkW6Y+DSvS+h8Q=
github.com/buaazp/fasthttprouter v0.1.1/go.mod h1:h/Ap5oRVLeItGKTVBb+heQPks+HdIUtGmI4H5WCYijM=
github.com/clbanning/mxj v1.8.2 h1:KBWvavOh0B3laROMyum5QODKHVA8RkTZGyO1SrgJkRI=
github.com/clbanning/mxj v1.8.2/go.mod h1:BVjHeAH+rl9rs6f+QIpeRl0tfu10SXn1pUSa5PVGJng=
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
github.com/clbanning/mxj v1.8.4 h1:HuhwZtbyvyOw+3Z1AowPkU87JkJUSv751ELWaiTpj8I=
github.com/clbanning/mxj v1.8.4/go.mod h1:BVjHeAH+rl9rs6f+QIpeRl0tfu10SXn1pUSa5PVGJng=
github.com/fasthttp-contrib/sessions v0.0.0-20160905201309-74f6ac73d5d5 h1:M4CVMQ5ueVmGZAtkW2bsO+ftesCYpfxl27JTqtzKBzE=
github.com/fasthttp-contrib/sessions v0.0.0-20160905201309-74f6ac73d5d5/go.mod h1:MQXNGeXkpojWTxbN7vXoE3f7EmlA11MlJbsrJpVBINA=
github.com/klauspost/compress v1.4.0 h1:8nsMz3tWa9SWWPL60G1V6CUsf4lLjWLTNEtibhe8gh8=
github.com/klauspost/compress v1.4.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
github.com/klauspost/cpuid v0.0.0-20170728055534-ae7887de9fa5 h1:2U0HzY8BJ8hVwDKIzp7y4voR9CX/nvcfymLmg2UiOio=
github.com/klauspost/cpuid v0.0.0-20170728055534-ae7887de9fa5/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
github.com/klauspost/cpuid v0.0.0-20180405133222-e7e905edc00e h1:+lIPJOWl+jSiJOc70QXJ07+2eg2Jy2EC7Mi11BWujeM=
github.com/klauspost/cpuid v0.0.0-20180405133222-e7e905edc00e/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc=
github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ=
github.com/raggaer/bison v0.0.0-20181029005320-a37b18f60c42 h1:jvY6mO7fAaY21Gi+rS4o30FdOCBnj4+mQs5lmVqJukY=
github.com/raggaer/bison v0.0.0-20181029005320-a37b18f60c42/go.mod h1:ErOzW5EVy5NiEtglPlPpRpzW5MSjoUQQKlXzEy7LtbY=
github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=
github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
github.com/valyala/fasthttp v0.0.0-20171207120941-e5f51c11919d h1:pAXG0woN37FQD08beB53orVchWU97qUUdjKtSuMGqi4=
github.com/valyala/fasthttp v0.0.0-20171207120941-e5f51c11919d/go.mod h1:+g/po7GqyG5E+1CNgquiIxJnsXEi5vwFn5weFujbO78=
github.com/yuin/gopher-lua v0.0.0-20181008131706-f6fcaab0c612 h1:xQVhFpsxSKDgTNFDM99bwNrsxz5ozRCqcaZ3xbnnnUA=
github.com/yuin/gopher-lua v0.0.0-20181008131706-f6fcaab0c612/go.mod h1:aEV29XrmTYFr3CiRxZeGHpkvbwq+prZduBqMaascyCU=
github.com/valyala/fasthttp v1.3.0 h1:++0WUtakkqBuHHY5JRFFl6O44I03XLBqxNnrBX0yH7Y=
github.com/valyala/fasthttp v1.3.0/go.mod h1:4vX61m6KN+xDduDNwXrhIAVZaZaZiQ1luJk8LWSxF3s=
github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a/go.mod h1:v3UYOV9WzVtRmSR+PDvWpU/qWl4Wa5LApYYX4ZtKbio=
github.com/yuin/gopher-lua v0.0.0-20190514113301-1cd887cd7036 h1:1b6PAtenNyhsmo/NKXVe34h7JEZKva1YB/ne7K7mqKM=
github.com/yuin/gopher-lua v0.0.0-20190514113301-1cd887cd7036/go.mod h1:gqRgreBUhTSL0GeU64rtZ3Uq3wtjOa/TB2YfrtkCbVQ=
golang.org/x/net v0.0.0-20180911220305-26e67e76b6c3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/sys v0.0.0-20190204203706-41f3e6584952/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
17 main.go
@@ -1,18 +1,19 @@
package main

import (
"fmt"
"log"
"net/http"
"path/filepath"
"time"

"github.com/Raggaer/bison/app/config"
"github.com/Raggaer/bison/app/controllers"
"github.com/Raggaer/bison/app/lua"
"github.com/Raggaer/bison/app/router"
"github.com/Raggaer/bison/app/template"
"github.com/buaazp/fasthttprouter"
"github.com/patrickmn/go-cache"
"github.com/raggaer/bison/app/config"
"github.com/raggaer/bison/app/controllers"
"github.com/raggaer/bison/app/lua"
"github.com/raggaer/bison/app/router"
"github.com/raggaer/bison/app/template"
cache "github.com/patrickmn/go-cache"

"github.com/valyala/fasthttp"
)
@@ -64,9 +65,9 @@ func main() {
}
}
if config.DevMode {
log.Println("Running development mode - bison listening on address '" + config.Address + "'")
fmt.Println("Running development mode - bison listening on address '" + config.Address + "'")
} else {
log.Println("bison listening on address '" + config.Address + "'")
fmt.Println("bison listening on address '" + config.Address + "'")
}
fasthttp.ListenAndServe(config.Address, r.Handler)
}
@@ -11,11 +11,11 @@ import (

"github.com/buaazp/fasthttprouter"
"github.com/patrickmn/go-cache"
"github.com/raggaer/bison/app/config"
"github.com/raggaer/bison/app/controllers"
"github.com/raggaer/bison/app/lua"
"github.com/raggaer/bison/app/router"
"github.com/raggaer/bison/app/template"
"github.com/Raggaer/bison/app/config"
"github.com/Raggaer/bison/app/controllers"
"github.com/Raggaer/bison/app/lua"
"github.com/Raggaer/bison/app/router"
"github.com/Raggaer/bison/app/template"
"github.com/valyala/fasthttp"
)

0 comments on commit 9770c53

Please sign in to comment.
You can’t perform that action at this time.