removed the cfg package from go code.
All checks were successful
continuous-integration/drone/push Build is passing

instead, started using -ldflags "-X var=val" to set constant values
This commit is contained in:
2024-01-22 01:27:39 +09:00
parent ca9a6b9eb7
commit a02c323393
9 changed files with 14 additions and 35 deletions

View File

@ -1,7 +1,6 @@
package main
import (
_ "cfg"
"fmt"
"os"
"strings"
@ -19,6 +18,12 @@ import (
`))
*/
/* to be set in build time */
var BINDIR = "."
var SBINDIR = "."
var LIBDIR = "."
var SYSCONFDIR = "."
type Param struct {
log_file string
input_file string