Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add cron proto #45

Merged
merged 1 commit into from
Jul 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}