Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for error_msg (0.18 sec)

  1. internal/logger/console.go

    }
    
    func (i infoMsg) pretty(msg string, args ...interface{}) {
    	if msg == "" {
    		fmt.Fprintln(Output, args...)
    	}
    	fmt.Fprintf(Output, msg, args...)
    }
    
    type errorMsg struct{}
    
    var errorm errorMsg
    
    func (i errorMsg) json(msg string, args ...interface{}) {
    	var message string
    	if msg != "" {
    		message = fmt.Sprintf(msg, args...)
    	} else {
    		message = fmt.Sprint(args...)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top