Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for printanycustomtype (1.91 sec)

  1. src/runtime/error.go

    	case float64:
    		print(v)
    	case complex64:
    		print(v)
    	case complex128:
    		print(v)
    	case string:
    		printindented(v)
    	default:
    		printanycustomtype(v)
    	}
    }
    
    // Invariant: each newline in the string representation is followed by a tab.
    func printanycustomtype(i any) {
    	eface := efaceOf(&i)
    	typestring := toRType(eface._type).string()
    
    	switch eface._type.Kind_ {
    	case abi.String:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top