Explorar el Código

upgrade ircmsg again

tags/v2.5.0-rc1
Shivaram Lingamneni hace 3 años
padre
commit
3f20676f46
Se han modificado 4 ficheros con 5 adiciones y 4 borrados
  1. 1
    1
      go.mod
  2. 2
    0
      go.sum
  3. 1
    2
      vendor/github.com/goshuirc/irc-go/ircmsg/tags.go
  4. 1
    1
      vendor/modules.txt

+ 1
- 1
go.mod Ver fichero

10
 	github.com/go-sql-driver/mysql v1.5.0
10
 	github.com/go-sql-driver/mysql v1.5.0
11
 	github.com/go-test/deep v1.0.6 // indirect
11
 	github.com/go-test/deep v1.0.6 // indirect
12
 	github.com/gorilla/websocket v1.4.2
12
 	github.com/gorilla/websocket v1.4.2
13
-	github.com/goshuirc/irc-go v0.0.0-20201116034710-7e7b0985c4b5
13
+	github.com/goshuirc/irc-go v0.0.0-20201118022549-7209d10d54a8
14
 	github.com/onsi/ginkgo v1.12.0 // indirect
14
 	github.com/onsi/ginkgo v1.12.0 // indirect
15
 	github.com/onsi/gomega v1.9.0 // indirect
15
 	github.com/onsi/gomega v1.9.0 // indirect
16
 	github.com/oragono/confusables v0.0.0-20201108231250-4ab98ab61fb1
16
 	github.com/oragono/confusables v0.0.0-20201108231250-4ab98ab61fb1

+ 2
- 0
go.sum Ver fichero

22
 github.com/goshuirc/eventmgr v0.0.0-20170615162049-060479027c93/go.mod h1:bjJFM4iZJWTf9Rka9sNuI3GxszJqFeu5r1r15ZVtemo=
22
 github.com/goshuirc/eventmgr v0.0.0-20170615162049-060479027c93/go.mod h1:bjJFM4iZJWTf9Rka9sNuI3GxszJqFeu5r1r15ZVtemo=
23
 github.com/goshuirc/irc-go v0.0.0-20201116034710-7e7b0985c4b5 h1:oqOT5hi8MRDGvfu4h7rlsrtper7I/0A41K0GppmBb5w=
23
 github.com/goshuirc/irc-go v0.0.0-20201116034710-7e7b0985c4b5 h1:oqOT5hi8MRDGvfu4h7rlsrtper7I/0A41K0GppmBb5w=
24
 github.com/goshuirc/irc-go v0.0.0-20201116034710-7e7b0985c4b5/go.mod h1:q/JhvvKLmif3y9q8MDQM+gRCnjEKnu5ClF298TTXJug=
24
 github.com/goshuirc/irc-go v0.0.0-20201116034710-7e7b0985c4b5/go.mod h1:q/JhvvKLmif3y9q8MDQM+gRCnjEKnu5ClF298TTXJug=
25
+github.com/goshuirc/irc-go v0.0.0-20201118022549-7209d10d54a8 h1:7vZqkY9bwimFNuLhWAzdxM9IM7ym853YLNhWsKAnsrQ=
26
+github.com/goshuirc/irc-go v0.0.0-20201118022549-7209d10d54a8/go.mod h1:q/JhvvKLmif3y9q8MDQM+gRCnjEKnu5ClF298TTXJug=
25
 github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI=
27
 github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI=
26
 github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
28
 github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
27
 github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
29
 github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=

+ 1
- 2
vendor/github.com/goshuirc/irc-go/ircmsg/tags.go Ver fichero

3
 
3
 
4
 package ircmsg
4
 package ircmsg
5
 
5
 
6
-import "bytes"
7
 import "strings"
6
 import "strings"
8
 
7
 
9
 var (
8
 var (
39
 // so you don't need to call it yourself after parsing a line.
38
 // so you don't need to call it yourself after parsing a line.
40
 func UnescapeTagValue(inString string) string {
39
 func UnescapeTagValue(inString string) string {
41
 	// buf.Len() == 0 is the fastpath where we have not needed to unescape any chars
40
 	// buf.Len() == 0 is the fastpath where we have not needed to unescape any chars
42
-	var buf bytes.Buffer
41
+	var buf strings.Builder
43
 	remainder := inString
42
 	remainder := inString
44
 	for {
43
 	for {
45
 		backslashPos := strings.IndexByte(remainder, '\\')
44
 		backslashPos := strings.IndexByte(remainder, '\\')

+ 1
- 1
vendor/modules.txt Ver fichero

21
 # github.com/gorilla/websocket v1.4.2
21
 # github.com/gorilla/websocket v1.4.2
22
 ## explicit
22
 ## explicit
23
 github.com/gorilla/websocket
23
 github.com/gorilla/websocket
24
-# github.com/goshuirc/irc-go v0.0.0-20201116034710-7e7b0985c4b5
24
+# github.com/goshuirc/irc-go v0.0.0-20201118022549-7209d10d54a8
25
 ## explicit
25
 ## explicit
26
 github.com/goshuirc/irc-go/ircfmt
26
 github.com/goshuirc/irc-go/ircfmt
27
 github.com/goshuirc/irc-go/ircmsg
27
 github.com/goshuirc/irc-go/ircmsg

Loading…
Cancelar
Guardar