ipns.go
func (s *Shell) Resolve(id string) (string, error) {
	req := s.Request("name/resolve")
	if id != "" {
		req.Arguments(id)
	}
	var out struct{ Path string }
	err := req.Exec(context.Background(), &out)
	return out.Path, err
}
func (s *Shell) Resolve(id string) (string, error) {
	req := s.Request("name/resolve")
	if id != "" {
		req.Arguments(id)
	}
	var out struct{ Path string }
	err := req.Exec(context.Background(), &out)
	return out.Path, err
}
// Resolve gets resolves the string provided to an /ipns/[name]. If asked to
// resolve an empty string, resolve instead resolves the node's own /ipns value.