IsStringEmpty method tells whether given string is empty or not
(str string)
| 76 | |
| 77 | // IsStringEmpty method tells whether given string is empty or not |
| 78 | func IsStringEmpty(str string) bool { |
| 79 | return len(strings.TrimSpace(str)) == 0 |
| 80 | } |
| 81 | |
| 82 | // See 2 (end of page 4) https://www.ietf.org/rfc/rfc2617.txt |
| 83 | // "To receive authorization, the client sends the userid and password, |
no outgoing calls
searching dependent graphs…