392 var result string
393 buf := make([]byte, 1024)
394 for {
395 len, err := response.Body.Read(buf)396 if len > 0 {
397 result += strings.TrimSpace(string(buf[:len]))
398 }
Constant names like false
, true
, nil
and function names like append
,
make
, and basic type names like bool
, and byte
are not reserved keywords
of the language making them eligible for redefinition. It is not recommended to
redefine these builtins (or keywords) that can lead to bugs that are very
difficult to detect.
nil := true
nilVal := true