init code
This commit is contained in:
parent
2d21bfb5f9
commit
e7c7a79b3a
|
@ -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
|
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
*.exe
|
||||||
|
.idea/
|
||||||
|
*.png
|
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
2
main.go
2
main.go
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue