src

Go monorepo.
git clone git://code.dwrz.net/src
Log | Files | Refs

config.go (180B)


      1 package dqs
      2 
      3 import "fmt"
      4 
      5 type Config struct {
      6 	Dir string
      7 }
      8 
      9 func (c *Config) Validate() error {
     10 	if c.Dir == "" {
     11 		return fmt.Errorf("missing dqs directory")
     12 	}
     13 
     14 	return nil
     15 }