Fix linter issues

This commit is contained in:
Martin Boehm
2019-03-21 22:53:48 +01:00
parent 283a039290
commit 68575b2786
8 changed files with 24 additions and 2 deletions

View File

@@ -19,6 +19,7 @@ const (
outputFile = "docs/ports.md"
)
// PortInfo contains backend and blockbook ports
type PortInfo struct {
CoinName string
BlockbookInternalPort uint16
@@ -27,8 +28,10 @@ type PortInfo struct {
BackendServicePorts map[string]uint16
}
// PortInfoSlice is self describing
type PortInfoSlice []*PortInfo
// Config contains coin configuration
type Config struct {
Coin struct {
Name string `json:"name"`