gofuncy/value.go
Kevin Franklin Kim 310d95d293
fix: lint issues
2025-05-04 14:50:19 +02:00

15 lines
197 B
Go

package gofuncy
import (
"context"
)
type Value[T any] struct {
ctx context.Context //nolint:containedctx // required
Data T
}
func (m *Value[T]) Context() context.Context {
return m.ctx
}