Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for quoteValue (0.11 sec)

  1. src/runtime/debug/mod.go

    }
    
    // quoteKey reports whether key is required to be quoted.
    func quoteKey(key string) bool {
    	return len(key) == 0 || strings.ContainsAny(key, "= \t\r\n\"`")
    }
    
    // quoteValue reports whether value is required to be quoted.
    func quoteValue(value string) bool {
    	return strings.ContainsAny(value, " \t\r\n\"`")
    }
    
    func (bi *BuildInfo) String() string {
    	buf := new(strings.Builder)
    	if bi.GoVersion != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 15:06:51 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top