func nameToU(u string) (uint64, error) {
	prefix := "user"
	if !strings.HasPrefix(u, prefix) {
		return 0, fmt.Errorf("username %s does not start with \"user\"", u)
	}
	i, err := strconv.ParseUint(u[len(prefix):], 10, 64)
	if err != nil || i >= mailboat.NumUsers {
		return 0, fmt.Errorf("username %s does not have a valid number", u)
	}
	return i, err
}
// A go mail server that is equivalent to gomail from cspec
A go mail server that is equivalent to gomail from cspec
// A go mail server that is equivalent to gomail from cspec
func nameToU(u string) (uint64, error) {
	prefix := "user"
	if !strings.HasPrefix(u, prefix) {
		return 0, fmt.Errorf("username %s does not start with \"user\"", u)
	}
	i, err := strconv.ParseUint(u[len(prefix):], 10, 64)
	if err != nil || i >= mailboat.NumUsers {
		return 0, fmt.Errorf("username %s does not have a valid number", u)
	}
	return i, err
}
func nameToU ( u string ) ( uint64 , error ) { prefix := " " if ! strings . HasPrefix ( u , prefix ) { return 0 , fmt . Errorf ( " \" \" " , u ) } i , err := strconv . ParseUint ( u [ len ( prefix ) : ] , 10 , 64 ) if err != nil || i >= mailboat . NumUsers { return 0 , fmt . Errorf ( " " , u ) } return i , err }
A go mail server that is equivalent to gomail from cspec
A go mail server that is equivalent to gomail from cspec