diff options
| author | Shulhan <ms@kilabit.info> | 2023-10-06 13:59:51 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-10-06 13:59:51 +0700 |
| commit | 3ca05089eccb6c2e738c0a86725bd22695f5b7a7 (patch) | |
| tree | ecf1e465d9c66cce2b11e65b4275fffa04205bd8 /gotp.go | |
| parent | c5cc07900c67c2c8b565758dc4a66bc36b8cd7a9 (diff) | |
| download | gotp-3ca05089eccb6c2e738c0a86725bd22695f5b7a7.tar.xz | |
all: pass the configuration directory parameter to NewCli
Previously, the configuration directory initialized inside NewCli.
This changes we make the NewCli accept the config directory so we can
changes it during testing.
Diffstat (limited to 'gotp.go')
| -rw-r--r-- | gotp.go | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -17,7 +17,6 @@ const ( ) const ( - configDir = `gotp` configFile = `gotp.conf` defaultHash = HashSHA1 |
