Versions in this module Expand all Collapse all v1 v1.0.2 Nov 16, 2023 v1.0.1 Nov 15, 2023 v1.0.0 Nov 10, 2023 Changes in this version + type Result struct + Err error + Val T + type Single struct + func NewSingle[T any](wait time.Duration) *Single[T] + func (s *Single[T]) Do(fn func() (T, error)) (v T, err error, shared bool) + func (s *Single[T]) Reset()