-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* examples/chat/client: Refactor to use bufio.Scanner * examples/chat/client: Refactor to inject listen/connect interfaces and ports * examples/chat/server: Refactor to inject listening interface and port * examples/chat/server: Refactor use select{} instead of an empty channel. * examples/chat/build.sh: Replace with types/generate.go * examples/chat/server: Add missing flag.Parse. * examples/chat/types/generate.go: Remove extra proto_proto.
- Loading branch information
Showing
4 changed files
with
22 additions
and
15 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package types | ||
|
||
//go:generate protoc --proto_path=. --go_out=. --go_opt=paths=source_relative types.proto |