code: func LoadBasic(in []byte) (*Basic, error) {
  	wl := NewBasic()
  	addrs := strings.Split(string(in), "\n")
  
  	for _, addr := range addrs {
  		ip := net.ParseIP(addr)
  		if ip == nil {
  			return nil, errors.New("whitelist: invalid address")
  		}
  		wl.Add(ip)
  	}
  	return wl, nil
  }
docs: // LoadBasic loads a whitelist from a byteslice.