Source File
interface.go
Belonging Package
github.com/gookit/goutil/comdef
package comdefimport ()// ByteStringWriter interfacetype ByteStringWriter interface {io.Writerio.ByteWriterio.StringWriterfmt.Stringer}// StringWriteStringer interfacetype StringWriteStringer interface {io.StringWriterfmt.Stringer}// Int64able interfacetype Int64able interface {Int64() (int64, error)}// Float64able interfacetype Float64able interface {Float64() (float64, error)}// MapFunc definitiontype MapFunc func(val any) (any, error)////// Matcher type////// Matcher interfacetype Matcher[ any] interface {Match(s ) bool}// MatchFunc definition. implements Matcher interfacetype MatchFunc[ any] func(v ) bool// Match satisfies the Matcher interfacefunc ( MatchFunc[]) ( ) bool {return ()}// StringMatcher interfacetype StringMatcher interface {Match(s string) bool}// StringMatchFunc definitiontype StringMatchFunc func(s string) bool// Match satisfies the StringMatcher interfacefunc ( StringMatchFunc) ( string) bool {return ()}// StringHandler interfacetype StringHandler interface {Handle(s string) string}// StringHandleFunc definitiontype StringHandleFunc func(s string) string// Handle satisfies the StringHandler interfacefunc ( StringHandleFunc) ( string) string {return ()}
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |