func (c *Cheatpath) Validate() error {

	if c.Name == "" {
		return fmt.Errorf("invalid cheatpath: name must be specified")
	}
	if c.Path == "" {
		return fmt.Errorf("invalid cheatpath: path must be specified")
	}

	return nil
}
// Validate returns an error if the cheatpath is invalid
Validate returns an error if the cheatpath is invalid
// Validate returns an error if the cheatpath is invalid
func (c *Cheatpath) Validate() error {
	if c.Name == "" {
		return fmt.Errorf("invalid cheatpath: name must be specified")
	}
	if c.Path == "" {
		return fmt.Errorf("invalid cheatpath: path must be specified")
	}
	return nil
}
func ( c * Cheatpath ) Validate ( ) error { if c . Name == " " { return fmt . Errorf ( " " ) } if c . Path == " " { return fmt . Errorf ( " " ) } return nil }
Validate returns an error if the cheatpath is invalid
Validate returns an error if the cheatpath is invalid