Skip to content

Chapter 5 - TDD Pass 5: undefined types error #1

@iampeterbanjo

Description

@iampeterbanjo

After updating my code with the changes in TDD Pass 5 the tests fail with the error

# gogo-service/service
service/server.go:19: undefined: newInMemoryRepository
service/server.go:28: undefined: matchRepository
service/server.go:30: undefined: createMatchHandler

How does server.go reference the inmemrepository type?

Metadata

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

    Issue actions