* Rewrite empty string checks more idiomatically. * Change strings.ToLower comparisons to strings.EqualFold. * Rewrite switch statement with only one case as if. |
||
|---|---|---|
| .. | ||
| http | ||
| noop | ||
| srtp | ||
| tls | ||
| utp | ||
| wireguard | ||
* Rewrite empty string checks more idiomatically. * Change strings.ToLower comparisons to strings.EqualFold. * Rewrite switch statement with only one case as if. |
||
|---|---|---|
| .. | ||
| http | ||
| noop | ||
| srtp | ||
| tls | ||
| utp | ||
| wireguard | ||