revid: moved pkg const declaration to revid.go and removed space in pkg string

This commit is contained in:
saxon 2018-09-20 11:17:08 +09:30
parent 0efb2abd6c
commit e31678dc9b
2 changed files with 1 additions and 2 deletions

View File

@ -104,8 +104,6 @@ const (
defaultVerbosity = No
)
const pkg = "revid: "
// Validate checks for any errors in the config fields and defaults settings
// if particular parameters have not been defined.
func (c *Config) Validate(r *Revid) error {

View File

@ -73,6 +73,7 @@ const (
raspividNoOfTries = 3
sendingWaitTime = 5 * time.Millisecond
runContinuously = "0" // -t arg to raspivid
pkg = "revid:"
)
// Log Types