Skip to content

NewStampede returning private type ? #21

@udhos

Description

@udhos

While trying to upgrade from 0.8.1, I faced some struggle because NewStampede is returning a private type that makes it harder to use.

Is this on purpose, or else could it be made public?

func NewStampede[V any](logger *slog.Logger, cache cachestore.Store[V], options ...Option) *stampede[V] {

https://github.com/go-chi/stampede/blob/master/stampede.go#L22

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions