Skip to content

Commit

Permalink
tidy: consistent placement of go:generate comments in examples (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
steverusso authored Aug 24, 2023
1 parent 48e5f19 commit 74a1365
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion examples/simple/main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//go:generate goclap -type mycli
package main

//go:generate goclap -type mycli

// Any changes to this file likely necessitate changes to the project's README.

import (
Expand Down
3 changes: 2 additions & 1 deletion examples/simple_env/main.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package main

// Any changes to this file likely necessitate changes to the project's README.
//go:generate goclap -type mycli

// Any changes to this file likely necessitate changes to the project's README.

import (
"fmt"
"os"
Expand Down
3 changes: 2 additions & 1 deletion examples/strops/main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//go:generate goclap -type strops
package main

//go:generate goclap -type strops

// Any changes to this file likely necessitate changes to the project's README.

import (
Expand Down

0 comments on commit 74a1365

Please sign in to comment.