Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getFormatStr (0.14 sec)

  1. cmd/server-startup-msg.go

    	xnet "github.com/minio/pkg/v3/net"
    
    	"github.com/minio/minio/internal/color"
    	"github.com/minio/minio/internal/logger"
    )
    
    // generates format string depending on the string length and padding.
    func getFormatStr(strLen int, padding int) string {
    	formatStr := fmt.Sprintf("%ds", strLen+padding)
    	return "%" + formatStr
    }
    
    // Prints the formatted startup message.
    func printStartupMessage(apiEndpoints []string, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 23 14:11:35 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top