boskos/ranch/ranch.go
func NewRanch(config string, s *Storage) (*Ranch, error) {
	newRanch := &Ranch{
		Storage:    s,
		UpdateTime: updateTime,
	}
	if config != "" {
		if err := newRanch.SyncConfig(config); err != nil {
			return nil, err
		}
	}
	newRanch.LogStatus()
	return newRanch, nil
}
func NewRanch(config string, s *Storage) (*Ranch, error) {
	newRanch := &Ranch{
		Storage:    s,
		UpdateTime: updateTime,
	}
	if config != "" {
		if err := newRanch.SyncConfig(config); err != nil {
			return nil, err
		}
	}
	newRanch.LogStatus()
	return newRanch, nil
}
// NewRanch creates a new Ranch object.
// In: config - path to resource file
//     storage - path to where to save/restore the state data
// Out: A Ranch object, loaded from config/storage, or error