Skip to content

The power of generics in go for the repository pattern? #57

Open
@frederikhors

Description

@frederikhors

I just found this awesome post: https://hindenbug.io/the-power-of-generics-in-go-the-repository-pattern-for-gorm-7f8891df0934.

What do you think guys?

On reddit the discussion is hot too: https://www.reddit.com/r/golang/comments/u9bti2/the_power_of_generics_in_go_the_repository.

I'm repeating (manually or by code generation) a lot of times the same code in many files for this.

What we can do?

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