Versions in this module Expand all Collapse all v1 v1.0.1 Aug 7, 2023 v1.0.0 Aug 7, 2023 Changes in this version + var ErrExpected1Or2ReturnTypes = errors.New("expected return with 1 or 2 arguments of types (any, error?)") + var ErrExpected2ndArgumentToBeFunction = errors.New("expected second parameter to be a function") + var ErrExpectedFirstParameterToBeSlice = errors.New("expected first parameter to be an slice") + var ErrExpectedFirstReturnToBeBool = errors.New("expected first return type to be assignable to bool") + var ErrExpectedSecondReturnToBeError = errors.New("expected second return type to be assignable to error") + var ErrInputFuncMustTake0or1Arguments = errors.New("expected second parameter function to take 0 or 1 parameters") + func FilterTemplateFunc(slice any, f any) (any, error) + func FindIndexTemplateFunc(slice any, f any) (int, error) + func FindTemplateFunc(slice any, f any) (any, error) + func HtmlFunctions() ht.FuncMap + func MapTemplateFunc(slice any, f any) (any, error) + func TextFunctions() tt.FuncMap