Browse Source

Update dependencies

tags/0.1.0
Vladimir Hodakov 1 year ago
parent
commit
85c7109a85
Signed by: fat0troll <vladimir@hodakov.me> GPG Key ID: 673980B6882F82C6
21 changed files with 25 additions and 13 deletions
  1. +1
    -1
      context/context.go
  2. +1
    -1
      context/exported.go
  3. +1
    -1
      domains/battles/v1/announce.go
  4. +1
    -1
      domains/battles/v1/exported.go
  5. +1
    -1
      domains/battles/v1/forward.go
  6. +1
    -1
      domains/commands/v1/exported.go
  7. +1
    -1
      domains/commands/v1/help.go
  8. +1
    -1
      domains/commands/v1/start.go
  9. +5
    -2
      go.mod
  10. +9
    -0
      go.sum
  11. +0
    -0
      internal/config/announces.go
  12. +0
    -0
      internal/config/proxy.go
  13. +0
    -0
      internal/config/struct.go
  14. +0
    -0
      internal/config/telegram.go
  15. +0
    -0
      internal/config/webhook.go
  16. +0
    -0
      internal/router/exported.go
  17. +0
    -0
      internal/router/router.go
  18. +0
    -0
      internal/telegram/exported.go
  19. +0
    -0
      internal/telegram/respond.go
  20. +1
    -1
      internal/telegram/telegram.go
  21. +2
    -2
      main.go

+ 1
- 1
context/context.go View File

@@ -8,7 +8,7 @@ import (
"github.com/rs/zerolog"
"gopkg.in/yaml.v2"
"io/ioutil"
"lab.wtfteam.pro/fat0troll/fw_zookeeper/local/config"
"lab.wtfteam.pro/fat0troll/fw_zookeeper/internal/config"
"os"
"path/filepath"
"runtime"


+ 1
- 1
context/exported.go View File

@@ -5,7 +5,7 @@ package context

import (
"github.com/rs/zerolog"
"lab.wtfteam.pro/fat0troll/fw_zookeeper/local/config"
"lab.wtfteam.pro/fat0troll/fw_zookeeper/internal/config"
)

// VERSION is the current bot's version


+ 1
- 1
domains/battles/v1/announce.go View File

@@ -5,7 +5,7 @@ package battlesv1

import (
"gitlab.com/toby3d/telegram"
itelegram "lab.wtfteam.pro/fat0troll/fw_zookeeper/local/telegram"
itelegram "lab.wtfteam.pro/fat0troll/fw_zookeeper/internal/telegram"
"strings"
)



+ 1
- 1
domains/battles/v1/exported.go View File

@@ -6,7 +6,7 @@ package battlesv1
import (
"github.com/rs/zerolog"
"lab.wtfteam.pro/fat0troll/fw_zookeeper/context"
"lab.wtfteam.pro/fat0troll/fw_zookeeper/local/router"
"lab.wtfteam.pro/fat0troll/fw_zookeeper/internal/router"
"regexp"
)



+ 1
- 1
domains/battles/v1/forward.go View File

@@ -5,7 +5,7 @@ package battlesv1

import (
"gitlab.com/toby3d/telegram"
itelegram "lab.wtfteam.pro/fat0troll/fw_zookeeper/local/telegram"
itelegram "lab.wtfteam.pro/fat0troll/fw_zookeeper/internal/telegram"
"strings"
)



+ 1
- 1
domains/commands/v1/exported.go View File

@@ -6,7 +6,7 @@ package commandsv1
import (
"github.com/rs/zerolog"
"lab.wtfteam.pro/fat0troll/fw_zookeeper/context"
"lab.wtfteam.pro/fat0troll/fw_zookeeper/local/router"
"lab.wtfteam.pro/fat0troll/fw_zookeeper/internal/router"
)

var (


+ 1
- 1
domains/commands/v1/help.go View File

@@ -5,7 +5,7 @@ package commandsv1

import (
"gitlab.com/toby3d/telegram"
itelegram "lab.wtfteam.pro/fat0troll/fw_zookeeper/local/telegram"
itelegram "lab.wtfteam.pro/fat0troll/fw_zookeeper/internal/telegram"
)

// HelpCommand responds to /help message


+ 1
- 1
domains/commands/v1/start.go View File

@@ -5,7 +5,7 @@ package commandsv1

import (
"gitlab.com/toby3d/telegram"
itelegram "lab.wtfteam.pro/fat0troll/fw_zookeeper/local/telegram"
itelegram "lab.wtfteam.pro/fat0troll/fw_zookeeper/internal/telegram"
)

// StartCommand responds to /start message


+ 5
- 2
go.mod View File

@@ -4,11 +4,14 @@ require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/kirillDanshin/dlog v0.0.0-20170728000807-97d876b12bf9 // indirect
github.com/kirillDanshin/myutils v0.0.0-20160713214838-182269b1fbcc // indirect
github.com/klauspost/compress v1.4.1 // indirect
github.com/klauspost/cpuid v1.2.0 // indirect
github.com/pquerna/ffjson v0.0.0-20181028064349-e517b90714f7 // indirect
github.com/rs/zerolog v1.11.0
github.com/valyala/fasthttp v1.0.0
github.com/valyala/fasthttp v1.1.0
gitlab.com/toby3d/telegram v0.0.0-20181012114749-b3f324e1b3aa
golang.org/x/net v0.0.0-20181220203305-927f97764cc3
golang.org/x/net v0.0.0-20190206173232-65e2d4e15006
golang.org/x/text v0.3.0 // indirect
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
gopkg.in/yaml.v2 v2.2.2
)

+ 9
- 0
go.sum View File

@@ -6,8 +6,12 @@ github.com/kirillDanshin/myutils v0.0.0-20160713214838-182269b1fbcc h1:OkOhOn3WB
github.com/kirillDanshin/myutils v0.0.0-20160713214838-182269b1fbcc/go.mod h1:Bt95qRxLvpdmASW9s2tTxGdQ5ma4o4n8QFhCvzCew/M=
github.com/klauspost/compress v1.4.0 h1:8nsMz3tWa9SWWPL60G1V6CUsf4lLjWLTNEtibhe8gh8=
github.com/klauspost/compress v1.4.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
github.com/klauspost/compress v1.4.1 h1:8VMb5+0wMgdBykOV96DwNwKFQ+WTI4pzYURP99CcB9E=
github.com/klauspost/compress v1.4.1/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
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/klauspost/cpuid v1.2.0 h1:NMpwD2G9JSFOE1/TJjGSo5zG7Yb2bTe7eq1jH+irmeE=
github.com/klauspost/cpuid v1.2.0/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
github.com/pquerna/ffjson v0.0.0-20181028064349-e517b90714f7 h1:gGBSHPOU7g8YjTbhwn+lvFm2VDEhhA+PwDIlstkgSxE=
github.com/pquerna/ffjson v0.0.0-20181028064349-e517b90714f7/go.mod h1:YARuvh7BUWHNhzDq2OM5tzR2RiCcN2D7sapiKyCel/M=
github.com/rs/zerolog v1.11.0 h1:DRuq/S+4k52uJzBQciUcofXx45GrMC6yrEbb/CoK6+M=
@@ -16,15 +20,20 @@ github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6Kllzaw
github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
github.com/valyala/fasthttp v1.0.0 h1:BwIoZQbBsTo3v2F5lz5Oy3TlTq4wLKTLV260EVTEWco=
github.com/valyala/fasthttp v1.0.0/go.mod h1:4vX61m6KN+xDduDNwXrhIAVZaZaZiQ1luJk8LWSxF3s=
github.com/valyala/fasthttp v1.1.0 h1:3BohG7mqwj4lq7PTX//7gLbUlzNvZSPmuHFnloXT0lw=
github.com/valyala/fasthttp v1.1.0/go.mod h1:4vX61m6KN+xDduDNwXrhIAVZaZaZiQ1luJk8LWSxF3s=
github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a/go.mod h1:v3UYOV9WzVtRmSR+PDvWpU/qWl4Wa5LApYYX4ZtKbio=
gitlab.com/toby3d/telegram v0.0.0-20181012114749-b3f324e1b3aa h1:cY97lp8vP4ejxaKhxDx//4gBle1NgbGYsuTnCFwhmR0=
gitlab.com/toby3d/telegram v0.0.0-20181012114749-b3f324e1b3aa/go.mod h1:qV8SaSi5ClH+I+JPQ56jJxqEuiRmZ5MOj2VqFasMMnM=
golang.org/x/net v0.0.0-20180911220305-26e67e76b6c3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20181220203305-927f97764cc3 h1:eH6Eip3UpmR+yM/qI9Ijluzb1bNv/cAU/n+6l8tRSis=
golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190206173232-65e2d4e15006 h1:bfLnR+k0tq5Lqt6dflRLcZiz6UaXCMt3vhYJ1l4FQ80=
golang.org/x/net v0.0.0-20190206173232-65e2d4e15006/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=

local/config/announces.go → internal/config/announces.go View File


local/config/proxy.go → internal/config/proxy.go View File


local/config/struct.go → internal/config/struct.go View File


local/config/telegram.go → internal/config/telegram.go View File


local/config/webhook.go → internal/config/webhook.go View File


local/router/exported.go → internal/router/exported.go View File


local/router/router.go → internal/router/router.go View File


local/telegram/exported.go → internal/telegram/exported.go View File


local/telegram/respond.go → internal/telegram/respond.go View File


local/telegram/telegram.go → internal/telegram/telegram.go View File

@@ -8,7 +8,7 @@ import (
http "github.com/valyala/fasthttp"
"gitlab.com/toby3d/telegram"
"golang.org/x/net/proxy"
"lab.wtfteam.pro/fat0troll/fw_zookeeper/local/router"
"lab.wtfteam.pro/fat0troll/fw_zookeeper/internal/router"
"net"
)


+ 2
- 2
main.go View File

@@ -7,8 +7,8 @@ import (
"lab.wtfteam.pro/fat0troll/fw_zookeeper/context"
"lab.wtfteam.pro/fat0troll/fw_zookeeper/domains/battles/v1"
"lab.wtfteam.pro/fat0troll/fw_zookeeper/domains/commands/v1"
"lab.wtfteam.pro/fat0troll/fw_zookeeper/local/router"
"lab.wtfteam.pro/fat0troll/fw_zookeeper/local/telegram"
"lab.wtfteam.pro/fat0troll/fw_zookeeper/internal/router"
"lab.wtfteam.pro/fat0troll/fw_zookeeper/internal/telegram"
"os"
"os/signal"
"runtime"


Loading…
Cancel
Save