iam icon indicating copy to clipboard operation
iam copied to clipboard

Compiling the iam-authz-server component failed

Open z-elaine opened this issue 2 years ago • 0 comments

Issue Description:

$ make build BINS=iam-authz-server github.com/marmotedu/iam/cmd/iam-authz-server cmd/iam-authz-server/authzserver.go:18:2: undefined: authzserver make[1]: *** [scripts/make-rules/golang.mk:56: go.build.linux_amd64.iam-authz-server] Error 1 make: *** [Makefile:62: build] Error 2

$go build -v cmd/iam-authz-server/authzserver.go command-line-arguments cmd/iam-authz-server/authzserver.go:18:2: undefined: authzserver

To resolve this issue, add the following package dependency in the authzserver.go file:

import (
	"math/rand"
	"time"
	"github.com/marmotedu/iam/internal/authzserver"
)

z-elaine avatar Dec 11 '23 15:12 z-elaine