Simplify go generate
This commit is contained in:
parent
cde37d1679
commit
c038ad5107
1 changed files with 3 additions and 2 deletions
5
main.go
5
main.go
|
@ -1,8 +1,9 @@
|
||||||
//go:generate go generate bitmask.me/skeleton/assets
|
//go:generate go run -tags=dev assets/assets_generate.go
|
||||||
//go:generate go generate bitmask.me/skeleton/internal/database
|
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
// -- //go:generate go generate bitmask.me/skeleton/internal/database
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bitmask.me/skeleton/cmd"
|
"bitmask.me/skeleton/cmd"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue