Skip to content

Bug: Executing make doesn't build the package correctly. #22

Closed

Description

@charlesgreen

Testing: the package build fails with make. Multiple PRs were just merged. We need to run a build and check for errors and make the needed corrections. Additional information that's needed: check the PRD document.

sync git:(main) make
go test ./...
go: downloading github.com/aws/smithy-go v1.28.2

github.com/aixgo-dev/sync/internal/api [github.com/aixgo-dev/sync/internal/api.test]

internal/api/server.go:11:6: Server redeclared in this block
internal/api/api.go:32:6: other declaration of Server
internal/api/server.go:16:6: NewServer redeclared in this block
internal/api/api.go:37:6: other declaration of NewServer
? github.com/aixgo-dev/sync/cmd/aixgo-sync [no test files]
FAIL github.com/aixgo-dev/sync/internal/api [build failed]
ok github.com/aixgo-dev/sync/internal/auth 1.030s
ok github.com/aixgo-dev/sync/internal/keys 0.346s
ok github.com/aixgo-dev/sync/internal/server 0.713s
ok github.com/aixgo-dev/sync/internal/store 1.376s
ok github.com/aixgo-dev/sync/internal/version 1.680s
FAIL
make: *** [check] Error 1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions