changed const declaration in api_test.go

This commit is contained in:
Mikelle
2021-03-31 19:11:07 +03:00
parent e9b80d0c6d
commit 7f971fb72b

View File

@@ -40,9 +40,11 @@ type Pendinger interface {
New() Pendinger New() Pendinger
} }
const apiPort = "4010" const (
const apiIP = "http://localhost:" apiPort = "4010"
const apiURL = apiIP + apiPort + "/v1/" apiIP = "http://localhost:"
apiURL = apiIP + apiPort + "/v1/"
)
var SetBlockchain = ` var SetBlockchain = `
Type: Blockchain Type: Blockchain