Skip to content

Commit

Permalink
Merge pull request #45 from w-h-a/cron
Browse files Browse the repository at this point in the history
feat: add cron proto
  • Loading branch information
w-h-a committed Jul 14, 2024
2 parents 6f615e4 + 45f17e6 commit 063c657
Show file tree
Hide file tree
Showing 3 changed files with 157 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ proto-runtime:
proto-streams:
protoc proto/streams/*.proto --go_out=paths=source_relative:. --proto_path=.

.PHONY: proto-cron
proto-cron:
protoc proto/cron/*.proto --go_out=paths=source_relative:. --proto_path=.

.PHONY: proto-ticket
proto-ticket:
protoc proto/ticket/*.proto --go_out=paths=source_relative:. --proto_path=.
Expand Down
143 changes: 143 additions & 0 deletions proto/cron/cron.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions proto/cron/cron.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
syntax = "proto3";

package cron;

option go_package = "github.com/w-h-a/pkg/proto/cron";

// domain
message Job {
string id = 1;
}

0 comments on commit 063c657

Please sign in to comment.