Skip to content

Commit 482ab76

Browse files
authored
Merge pull request #1 from KotVnn/patch-1
FIX: duplicate slash
2 parents 4e4d8f5 + e0e9442 commit 482ab76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/configuration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ type Configuration struct {
6767

6868
func NewConfiguration(username, password string, port int) *Configuration {
6969
cfg := &Configuration{
70-
Endpoint: fmt.Sprintf("http://localhost:%d/", port),
70+
Endpoint: fmt.Sprintf("http://localhost:%d", port),
7171
UserAgent: "Swagger-Codegen/1.0.0/go",
7272
UserName: username,
7373
Password: password,

0 commit comments

Comments
 (0)