Skip to content

Commit 1aaa919

Browse files
committed
Initial commit
0 parents  commit 1aaa919

34 files changed

+1038
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.envrc
2+
go.work

.golangci.yaml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
linters:
2+
presets:
3+
- bugs
4+
- error
5+
- format
6+
- import
7+
- style
8+
- test
9+
disable:
10+
- depguard
11+
- dupl
12+
- exhaustruct
13+
- gochecknoglobals
14+
- gochecknoinits
15+
- goerr113
16+
- gomnd
17+
- gosmopolitan
18+
- ireturn
19+
- lll
20+
- nlreturn
21+
- varnamelen
22+
- wrapcheck
23+
- wsl
24+
25+
linters-settings:
26+
depguard:
27+
rules:
28+
main:
29+
files:
30+
- '$all'
31+
- '!$test'
32+
deny:
33+
github.com/golang/mock/gomock: Don't use gomock package outside tests.
34+
github.com/stretchr/testify/assert: Don't use assert package outside tests.
35+
github.com/stretchr/testify/require: Don't use require package outside tests.
36+
testing: Don't use testing package outside tests.
37+
38+
exhaustive:
39+
ignore-enum-members: '.*Unknown.*'
40+
gosec:
41+
excludes:
42+
- G401
43+
- G505
44+
revive:
45+
rules:
46+
- name: receiver-naming
47+
severity: error
48+
disabled: false
49+
- name: var-naming
50+
severity: error
51+
disabled: false
52+
53+
issues:
54+
exclude-rules:
55+
- path: (test_\w+|mock)/\w+\.go$
56+
linters:
57+
- revive

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/meta.sql

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/sqlDataSources.xml

Lines changed: 47 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/sqldialects.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
golang 1.20

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 mpyw
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.

0 commit comments

Comments
 (0)