We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6ac35f commit d40f4c1Copy full SHA for d40f4c1
smsgateway/client.go
@@ -14,7 +14,7 @@ import (
14
const BaseURL = "https://api.sms-gate.app/3rdparty/v1"
15
const settingsPath = "/settings"
16
17
-// BASE_URL is deprecated, use BaseURL instead
+// Deprecated: BASE_URL is kept for backward compatibility. Use BaseURL instead.
18
//
19
//nolint:revive,staticcheck // backward compatibility
20
const BASE_URL = BaseURL
smsgateway/config_test.go
@@ -52,7 +52,7 @@ func TestConfig_WithBaseURL(t *testing.T) {
52
{
53
name: "with empty base URL should use default",
54
baseURL: "",
55
- expected: "https://api.sms-gate.app/3rdparty/v1",
+ expected: smsgateway.BaseURL,
56
},
57
}
58
0 commit comments