Skip to content

Commit 8f61fef

Browse files
committed
change struct name
1 parent 9cae9d6 commit 8f61fef

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

backend/internal/adj/adj.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func NewADJ() (*ADJ, error) {
1919
return nil, err
2020
}
2121

22-
var JsonInfo JSON_Info
22+
var JsonInfo JsonInfo
2323
var info Info
2424
if err := json.Unmarshal(infoRaw, &JsonInfo); err != nil {
2525
return nil, err

backend/internal/adj/models.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ type ADJ struct {
77
Boards map[string]Board
88
}
99

10-
type JSON_Info struct {
10+
type JsonInfo struct {
1111
Ports []map[string]uint16 `json:"ports"`
1212
Addresses []map[string]string `json:"addresses"`
1313
Units []map[string]utils.Operations `json:"units"`

0 commit comments

Comments
 (0)