apiserver-builder-alpha: init repo not working with Go Modules

I’m trying to run apiserver-boot init repo but I keep getting the error

apiserver-boot must be run from the directory containing the go package to bootstrap. This must be under $GOPATH/src/<package>. 

Is there a reason that I can’t run this in a go module?

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

You can add --module-name for module to work. As instructed in the CLI

apiserver-boot -h

# Initialize your repository with scaffolding directories and go files. Specify --module-name if the project works outside GOPATH.
apiserver-boot init repo --domain example.com

/remove-lifecycle stale bump