registry/slices/functions.go
SlicesRegistry
has 22 methods (exceeds 20 allowed). Consider refactoring. Wontfix
Wontfix
func (sr *SlicesRegistry) List(values ...any) []any {
return values
}
Method SlicesRegistry.Slice
has 8 return statements (exceeds 4 allowed). Open
Open
func (sr *SlicesRegistry) Slice(args ...any) (any, error) {
// ! BACKWARDS COMPATIBILITY: deprecated in v1.0 and removed in v1.1
// ! Due to change in signature, this function still supports the old signature
// ! to let users transition to the new signature.
// * Old signature: Slice(list any, indices ...any)
Method SlicesRegistry.Append
has 5 return statements (exceeds 4 allowed). Open
Open
func (sr *SlicesRegistry) Append(args ...any) ([]any, error) {
// ! BACKWARDS COMPATIBILITY: deprecated in v1.0 and removed in v1.1
// ! Due to change in signature, this function still supports the old signature
// ! to let users transition to the new signature.
// * Old signature: Append(list any, v any)