// NewEntry creates a new passfile entry.
NewEntry creates a new passfile entry.
// NewEntry creates a new passfile entry .
func NewEntry(v []string) Entry {
	v = append(v, "", "", "", "", "", "")
	return Entry{
		Protocol: v[0],
		Host:     v[1],
		Port:     v[2],
		DBName:   v[3],
		Username: v[4],
		Password: v[5],
	}
}
func NewEntry ( v [ ] string ) Entry { v = append ( v , " " , " " , " " , " " , " " , " " ) return Entry { Protocol : v [ 0 ] , Host : v [ 1 ] , Port : v [ 2 ] , DBName : v [ 3 ] , Username : v [ 4 ] , Password : v [ 5 ] , } }
NewEntry creates a new passfile entry.
NewEntry creates a new passfile entry .
// make sure there's always at least 6 elements