Skip to content
Snippets Groups Projects
Unverified Commit e74b1bd3 authored by Wolfgang Ebner's avatar Wolfgang Ebner Committed by GitHub
Browse files

use relative path instead of $PWD for go:generate (for go 1.17 compatibility) (#1615)

parent 458d7a11
No related branches found
No related tags found
No related merge requests found
package httpclient
//go:generate mockgen -package mocks -destination=$PWD/mocks/$GOFILE -source=$GOFILE -build_flags=-mod=vendor
//go:generate mockgen -package mocks -destination=../../../mocks/$GOFILE -source=$GOFILE -build_flags=-mod=vendor
import "net/http"
......
package volumes
//go:generate mockgen -package mocks -destination=$PWD/mocks/$GOFILE -source=$GOFILE -build_flags=-mod=vendor
//go:generate mockgen -package mocks -destination=../../../mocks/$GOFILE -source=$GOFILE -build_flags=-mod=vendor
import v1 "k8s.io/api/core/v1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment