Skip to content

Commit

Permalink
Fix Go formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sc-gv committed Jan 2, 2024
1 parent 7972d35 commit 407baad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/protoc-gen-ratelimit/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ func (f *Flags) PrintVersion() {
// ParseFlags parses the supplied options are returns a `Flags` object to the caller.
//
// Parameters:
// * `w` - the `io.Writer` to use for printing messages (help, version, etc.)
// * `args` - the set of args the program was invoked with (typically `os.Args`)
// - `w` - the `io.Writer` to use for printing messages (help, version, etc.)
// - `args` - the set of args the program was invoked with (typically `os.Args`)
func ParseFlags(w io.Writer, args []string) *Flags {
f := Flags{appName: args[0], writer: w}

Expand Down
2 changes: 1 addition & 1 deletion cmd/protoc-gen-ratelimit/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// Example: generate ratelimit configuration files for Envoy:
//
// protoc --ratelimit_out=. --doc_opt=ratelimit/config.yaml protos/*.proto
// protoc --ratelimit_out=. --doc_opt=ratelimit/config.yaml protos/*.proto
//
// For more details, check out the README at https://github.com/SafetyCulture/protoc-gen-ratelimit
package main
Expand Down

0 comments on commit 407baad

Please sign in to comment.