aboutsummaryrefslogtreecommitdiff
path: root/cli.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-05-15 20:37:59 +0700
committerShulhan <ms@kilabit.info>2023-05-15 20:37:59 +0700
commitf59e59c029a0332e7fd63e0cd5ea7fb30eb7d991 (patch)
treeaeea5f62b8f0ec9bd131d9fb4c5643f419c39cc1 /cli.go
parentd887d308d9afad21a7b6b6385713c6c4ee0b1463 (diff)
downloadgotp-f59e59c029a0332e7fd63e0cd5ea7fb30eb7d991.tar.xz
all: add function loadConfig
The loadConfig load the configuration from raw bytes. This replace part of newConfig with loadConfig to minimize duplicate. The idea of loadConfig is to simplify testing later.
Diffstat (limited to 'cli.go')
0 files changed, 0 insertions, 0 deletions