Merge pull request #1622 from cfromknecht/hide-hodl-config-production
Hide hodl config production
This commit is contained in:
2 files changed
+13
No files matched your search
@@ -1,3 +1,5 @@
|
||||
// +build debug
|
||||
|
||||
package hodl
|
||||
|
||||
// Config is a struct enumerating the possible command line flags that are used
|
||||
@@ -0,0 +1,11 @@
|
||||
// +build !debug
|
||||
|
||||
package hodl
|
||||
|
||||
// Config is an empty struct disabling command line hodl flags in production.
|
||||
type Config struct{}
|
||||
|
||||
// Mask in production always returns MaskNone.
|
||||
func (c *Config) Mask() Mask {
|
||||
return MaskNone
|
||||
}
|
||||
Reference in new issue
Block a user