Commit Graph

121 Commits

Author SHA1 Message Date
Bo-Yi Wu 542854e025 chore: replace go get with go install in go 1.16 2021-03-27 13:43:40 +08:00
Bo-Yi Wu 590a6f5915 chore(format): enable extra rules which should be vetted by a human 2021-03-27 09:18:07 +08:00
Bo-Yi Wu 18cdf31e28 chore: switch gofmt to gofumpt 2021-01-23 09:42:33 +08:00
Bo-Yi Wu 44bf37941b
chore(grpc): add image field (#485) 2020-03-14 00:00:03 +08:00
Bo-Yi Wu e85252b4ae chore: remove docker build command 2020-02-19 23:55:23 +08:00
Bo-Yi Wu 2d2a8a0110
feat(worker): support graceful shutdown (#459)
* feat(worker): support graceful shutdown

notifications workers and queue have been sent to APNs/FCM before shutdown a push notification.

send buffered channel to signal.Notify to avoid blocking

see: golang/lint#175

fixed: https://github.com/appleboy/gorush/issues/441

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-02-04 13:27:27 +08:00
Bo-Yi Wu bcf1c0cd03 chore(makefile): remove GOPKG variable
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-02-03 16:50:13 +08:00
Bo-Yi Wu c08f593a86 feat: support gxz command for compressing and decompressing data 2019-04-27 23:45:28 +08:00
Bo-Yi Wu 6cc8e9f290 chore: update copyright year 2019-03-19 00:04:50 +08:00
Bo-Yi Wu 455a68acdf refactor: remove install misspell command in Makefine 2019-03-18 22:41:12 +08:00
Bo-Yi Wu bb7abb9a0a specific arch platform
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-03-18 14:16:29 +08:00
Bo-Yi Wu dd186e388d chore: remove specific the arch of OS 2019-03-16 13:45:11 +08:00
Bo-Yi Wu caf307e4d2 support arm arm64
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-03-16 13:23:53 +08:00
Bo-Yi Wu 3fcf974049 support arm
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-03-16 13:09:36 +08:00
Bo-Yi Wu 3f223cf6c0
feat: switch to drone 1.0 (#399)
fix #397
2019-03-16 11:37:01 +08:00
Bo-Yi Wu cea2056d26 feat(makefile): add phony for build. 2019-02-04 18:13:55 +08:00
Bo-Yi Wu facb8a9834
refactor(proto): upgrade to gogo/protobuf/protoc-gen-gofast (#381)
* refactor(proto): upgrade to gogo/protobuf/protoc-gen-gofast

* feat: update

* feat: update
2018-11-15 15:42:09 +08:00
Bo-Yi Wu 4d34ccecf0
feat: support go module on 1.11 (#377) 2018-10-15 11:49:53 +08:00
Bo-Yi Wu 36fea0bfed fix: Fix golint to new URL 2018-10-14 15:11:05 +08:00
Stefan Arentz 437092c697 Also build OpenBSD binaries (#362)
This patch simply adds `openbsd` to `TARGETS`. This is a supported Go architecture and the result will be binaries that can be run on 32 or 64-bit OpenBSD.

This project is hard to build on OpenBSD because it depends on some Linux-isms like *GNU Make* and specific `find` options. So it will be nice to have binaries easily available.
2018-07-16 10:20:45 +08:00
Bo-Yi Wu 672ac28d8f
chore(coverage): update coverage command. (#354)
* chore(coverage): update coverage command.

* update

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2018-04-22 09:17:16 +08:00
Bo-Yi Wu d7ce3c077c
feat(aws): support lambda (#334) 2018-01-23 16:34:34 +08:00
Bo-Yi Wu 6540d16e3e refactor: update makefile command. 2018-01-04 16:32:50 +08:00
Bo-Yi Wu 3b30bb6346 fix: missing grpc tool for node.js 2018-01-02 22:33:42 +08:00
Bo-Yi Wu c735e66a1c fix(git): remove bin folder from git ignore list 2017-12-11 09:17:36 +08:00
Bo-Yi Wu 46658f3838 fix(docker): add binary file to docker. 2017-12-10 19:07:58 +08:00
Bo-Yi Wu 9aedf8870e
feat(docker): Add i386 image. (#315)
* feat(docker): Add i386 image.

* update drone

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-12-10 19:00:15 +08:00
Bo-Yi Wu e2d4d9db18 move main to top folder.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-23 07:42:38 +08:00
Bo-Yi Wu 77ea50f062 move main.go to cmd folder. (#292)
* move main.go to cmd folder.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* move docs.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-18 20:57:51 -05:00
Bo-Yi Wu 7dac7d0698 add external tools
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-09-12 11:44:42 +08:00
Bo-Yi Wu e6160c4146 fix rm script
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-09-11 09:43:19 +08:00
Bo-Yi Wu 064632a19e using multiple stage build for alpine. (#279)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-31 14:25:56 +08:00
Bo-Yi Wu a466827822 support arm64 and arm docker image. (#277)
* support arm64 and arm docker image.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix format.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-25 00:51:04 -05:00
Bo-Yi Wu acc83c1fa5 [ci skip] add comment on Makefile. (#273)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-19 21:23:29 +08:00
Bo-Yi Wu 770aee9859 refactor(Makefile): allow overriding default go program (#270)
* refactor(Makefile): allow overriding default go program

* fix typo

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-08-15 12:16:04 +08:00
Bo-Yi Wu ac7bd0afd3 update makefile
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-26 23:24:43 +08:00
Bo-Yi Wu 510265bb5b fix: file path in target. 2017-07-25 22:53:21 +08:00
Bo-Yi Wu f482c98128 feat(Makefile): add generate proto method 2017-07-25 22:50:00 +08:00
Bo-Yi Wu 5da50c2aaa refactor(coverage): add coverage process in drone (#251)
* refactor(coverage): add coverage process in drone

* update

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-20 20:18:52 -05:00
Bo-Yi Wu d4e021dd0c
feat: add misspell fix command. 2017-06-05 11:50:00 +08:00
Bo-Yi Wu 2e6a8d728d
Exit with 2 if misspelling found
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-05 10:49:53 +08:00
Bo-Yi Wu 8ba68d0de0
add PHONY
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-05 10:45:38 +08:00
Bo-Yi Wu 6075d30a54 feat: check misspelling (#234) 2017-06-04 21:42:07 -05:00
Bo-Yi Wu fb7109835a refactor: update gofmt check (#233) 2017-06-04 21:26:45 -05:00
Bo-Yi Wu 14dc899b02 feat: check unused package (#232)
* feat: check unused package

update edganiukov/fcm to appleboy/go-fcm

* update readme

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* update comment

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-01 02:52:01 -05:00
Bo-Yi Wu 96b5fb4921 Support multi-stage docker build. (#229)
* support multi-stage docker image.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* update docker image

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* test docker image.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* test docker image.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix image name

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* update tag

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* update drone config.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-05-15 23:29:49 +08:00
Bo-Yi Wu 9b793cf80b refactor: check gofmt error. (#203) 2017-04-01 22:30:46 +08:00
Bo-Yi Wu 590a44209d feat: add fmt check command. (#202) 2017-03-30 14:29:53 +08:00
Bo-Yi Wu 7360bc8a04 fix: typo hashnull -> dev/null (#195) 2017-03-09 01:23:56 -06:00
Bo-Yi Wu 92b9da2f00 refactor: hash is a much faster shell-builtin alternative to which. (#192) 2017-02-27 21:45:00 +08:00