init code

This commit is contained in:
johlanse 2021-11-12 16:34:15 +08:00
parent 2d21bfb5f9
commit e7c7a79b3a
5 changed files with 5 additions and 16 deletions

View File

@ -25,17 +25,5 @@ jobs:
version: latest version: latest
args: release --rm-dist args: release --rm-dist
env: env:
# main: ./example/main.go
GITHUB_TOKEN: ${{ secrets.TOKEN }} GITHUB_TOKEN: ${{ secrets.TOKEN }}
#- name: Checkout Dist
# uses: actions/checkout@v2
# with:
# repository: 'gocq/dist'
# ref: master
# ssh-key: ${{ secrets.SSH_KEY }}
# path: upstream/dist
#- name: Update Dist
# run: |
# chmod +x scripts/upload_dist.sh
# ./scripts/upload_dist.sh

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*.exe
.idea/
*.png

View File

@ -4,7 +4,7 @@ linters-settings:
ignoretests: true ignoretests: true
goimports: goimports:
local-prefixes: github.com/huoxue1/study_xxqg local-prefixes: github.com/johlanse/study_xxqg
gocritic: gocritic:
disabled-checks: disabled-checks:

View File

@ -83,7 +83,7 @@ archives:
nfpms: nfpms:
- license: AGPL 3.0 - license: AGPL 3.0
homepage: https://github.com/huoxue1/study_xxqg homepage: https://github.com/johlanse/study_xxqg
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
formats: formats:
- deb - deb

View File

@ -43,7 +43,6 @@ func init() {
} }
func main() { func main() {
log.Infoln(`// 刷课模式默认为1 log.Infoln(`// 刷课模式默认为1
1只刷文章何视频 1只刷文章何视频
2只刷文章和视频和每日答题 2只刷文章和视频和每日答题
@ -66,5 +65,4 @@ func main() {
core.RespondDaily(login, "weekly") core.RespondDaily(login, "weekly")
core.RespondDaily(login, "special") core.RespondDaily(login, "special")
} }
} }