path methods are used for url operations. filepath methods are used for file system paths and its cross platform. Remove strings.HasSuffix and used filepath.Ext and path.Ext for file and url extenstions respectively |
||
---|---|---|
.. | ||
credentials.go | ||
credentials_test.go | ||
origin_cert.go | ||
origin_cert_test.go | ||
test-cert-no-token.pem | ||
test-cert-unknown-block.pem | ||
test-cloudflare-tunnel-cert-json.pem |