Skip to content

Compiling the iam-authz-server component failed #85

Open
@z-elaine

Description

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"
)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @z-elaine

      Issue actions

        Compiling the iam-authz-server component failed · Issue #85 · marmotedu/iam