- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for emitFunc (0.06 seconds)
-
src/cmd/api/main_test.go
if w.isDeprecated(obj) { w.emitf("var %s //deprecated", obj.Name()) } w.emitf("var %s %s", obj.Name(), w.typeString(obj.Type())) case *types.TypeName: w.emitType(obj) case *types.Func: w.emitFunc(obj) default: panic("unknown object: " + obj.String()) } } func (w *Walker) emitType(obj *types.TypeName) { name := obj.Name() if w.isDeprecated(obj) { w.emitf("type %s //deprecated", name)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Mar 02 13:20:41 GMT 2026 - 31.4K bytes - Click Count (0) -
internal/logger/console.go
"github.com/minio/minio/internal/color" ) // ConsoleLoggerTgt is a stringified value to represent console logging const ConsoleLoggerTgt = "console+http" // ExitFunc is called by Fatal() class functions, by default it calls os.Exit() var ExitFunc = os.Exit // Logger interface describes the methods that need to be implemented to satisfy the interface requirements. type Logger interface { json(msg string, args ...any)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.2K bytes - Click Count (0)