Skip to content

Commit

Permalink
make build script comply with load/ file separation
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelskyba committed Aug 4, 2022
1 parent 338b557 commit 83bf27a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mgt/build
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cd mgt
go build creds.go

cd ../load
go build .
go build -o load .

cd ../util/gen_fields/
go build gen.go
Expand Down
7 changes: 3 additions & 4 deletions util/gen_fields/gen.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package main

import (
"fmt"
"strings"
"os"
"bufio"
"os"
"strings"
)

func hdl(err error, message string) {
Expand Down Expand Up @@ -41,7 +40,7 @@ func main() {
}

output = append(output, "\n-- Column --------- :", column,
"-- Value ---------- :", value)
"-- Value ---------- :", value)
}

data := []byte(strings.Join(output, "\n"))
Expand Down

0 comments on commit 83bf27a

Please sign in to comment.