Skip to content

Commit a19a4b1

Browse files
author
yangyile
committed
简单改点东西
1 parent 0ff55d5 commit a19a4b1

File tree

4 files changed

+53
-43
lines changed

4 files changed

+53
-43
lines changed

.gitignore

+20-31
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,25 @@
1-
*.a
2-
*.so
1+
# If you prefer the allow list template instead of the deny list, see community template:
2+
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
3+
#
4+
# Binaries for programs and plugins
35
*.exe
4-
*.pyc
5-
*.log
6+
*.exe~
67
*.dll
7-
*.out
8-
*.key
9-
_test
8+
*.so
9+
*.dylib
10+
11+
# Test binary, built with `go test -c`
1012
*.test
11-
*.cert
12-
*.exe~
13+
14+
# Output of the go coverage tool, specifically when used with LiteIDE
15+
*.out
16+
17+
# Dependency directories (remove the comment below to include it)
18+
# vendor/
19+
20+
# Go workspace file
1321
go.work
14-
.Trash-*
15-
.DS_Store
1622
go.work.sum
17-
main.out.bin
18-
*gitignore*secrets*
19-
*gitignore*outputs*
20-
ehthumbs.db
21-
Thumbs.db
22-
.gitkeep
23-
.vscode/
24-
*.dylib
25-
vendor/
26-
.idea/
27-
*.err
28-
*.swp
29-
_obj
30-
tmp/
31-
bin/
32-
tags
33-
*.DB
34-
*.db
35-
*.o
36-
*~
23+
24+
# env file
25+
.env

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 golang-X-language
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

go.mod

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ require (
77
github.com/pkg/errors v0.9.1
88
github.com/redis/go-redis/v9 v9.7.0
99
github.com/stretchr/testify v1.10.0
10-
github.com/yyle88/erero v1.0.14
11-
github.com/yyle88/must v0.0.9
12-
github.com/yyle88/zaplog v0.0.16
10+
github.com/yyle88/erero v1.0.15
11+
github.com/yyle88/must v0.0.12
12+
github.com/yyle88/zaplog v0.0.17
1313
go.uber.org/zap v1.27.0
1414
)
1515

@@ -19,7 +19,7 @@ require (
1919
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
2020
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
2121
github.com/rogpeppe/go-internal v1.13.1 // indirect
22-
github.com/yyle88/mutexmap v1.0.8 // indirect
22+
github.com/yyle88/mutexmap v1.0.9 // indirect
2323
go.uber.org/multierr v1.11.0 // indirect
2424
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
2525
gopkg.in/yaml.v3 v3.0.1 // indirect

go.sum

+8-8
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR
2424
github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o=
2525
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
2626
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
27-
github.com/yyle88/erero v1.0.14 h1:ozS3iPLIsnRPSs8AdfbA/3f3hGw5EFkJMkfA/dfI+do=
28-
github.com/yyle88/erero v1.0.14/go.mod h1:NhP5EcPoVlShkMk1cVCFP3im5Zm+JRG35qIInMw7aeo=
29-
github.com/yyle88/must v0.0.9 h1:LA03i1O4/6Syopma8xqJMiWfAWeehoySeUaRmdQEvKY=
30-
github.com/yyle88/must v0.0.9/go.mod h1:5Ur4BKRx6GuW4gCZNx8Hf+iRS9lVmywSkCpxun/f+Do=
31-
github.com/yyle88/mutexmap v1.0.8 h1:VntAdXID5wbk211LZEPVK96jQBxIcfVIbQuk9cv3P/8=
32-
github.com/yyle88/mutexmap v1.0.8/go.mod h1:QUYDuARLPlGj414kHewQ5tt8jkDxQXoai8H3C4Gg+yc=
33-
github.com/yyle88/zaplog v0.0.16 h1:ZCxQhq3+nWeWMAXIzeA1EA4exRq5Pn8pXTpEw1GjyD4=
34-
github.com/yyle88/zaplog v0.0.16/go.mod h1:0ct8Rh6uE5i9RG+xbH6d4/pyDBt9JmxBqHNCI+T4wiM=
27+
github.com/yyle88/erero v1.0.15 h1:W3v1eIfX1m2YxYwAAtHky/T0FkreAh87/VZU/xMOFgY=
28+
github.com/yyle88/erero v1.0.15/go.mod h1:NhP5EcPoVlShkMk1cVCFP3im5Zm+JRG35qIInMw7aeo=
29+
github.com/yyle88/must v0.0.12 h1:IwHguhjZqWn41jk9A52XhR2Bc3bb1IXRHIxXrN7U0+A=
30+
github.com/yyle88/must v0.0.12/go.mod h1:DgvZQFh+H14kCVJkG2XlU+ltSJlDHMBUAxykhbS5cPk=
31+
github.com/yyle88/mutexmap v1.0.9 h1:g1nfNmsReU/AgcGkLgPEKrBeMThJJBrJuvU7i3DOVC0=
32+
github.com/yyle88/mutexmap v1.0.9/go.mod h1:QUYDuARLPlGj414kHewQ5tt8jkDxQXoai8H3C4Gg+yc=
33+
github.com/yyle88/zaplog v0.0.17 h1:2exjnXROfkNRvcKZDAFUM2KDpca1n2OKrEH73pTvrX0=
34+
github.com/yyle88/zaplog v0.0.17/go.mod h1:SJvxdHW7zWu1r+K66oBPBWljiGnDjCV8le3SzQnJpBw=
3535
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
3636
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
3737
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=

0 commit comments

Comments
 (0)