Documentation
¶
Overview ¶
Package clojars provides a registry client for clojars.org (Clojure).
Index ¶
- Constants
- func ParseCoordinates(name string) (group, artifact string)
- type Registry
- func (r *Registry) Ecosystem() string
- func (r *Registry) FetchDependencies(ctx context.Context, name, version string) ([]core.Dependency, error)
- func (r *Registry) FetchMaintainers(ctx context.Context, name string) ([]core.Maintainer, error)
- func (r *Registry) FetchPackage(ctx context.Context, name string) (*core.Package, error)
- func (r *Registry) FetchVersions(ctx context.Context, name string) ([]core.Version, error)
- func (r *Registry) URLs() core.URLBuilder
- type URLs
Constants ¶
View Source
const (
DefaultURL = "https://clojars.org"
)
Variables ¶
This section is empty.
Functions ¶
func ParseCoordinates ¶
ParseCoordinates parses a Clojars coordinate string (group/artifact or just artifact) If no group is specified, the artifact name is used as both group and artifact
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func (*Registry) FetchDependencies ¶
func (*Registry) FetchMaintainers ¶
func (*Registry) FetchPackage ¶
func (*Registry) FetchVersions ¶
func (*Registry) URLs ¶
func (r *Registry) URLs() core.URLBuilder
type URLs ¶
type URLs struct {
// contains filtered or unexported fields
}
func (*URLs) Documentation ¶
Click to show internal directories.
Click to hide internal directories.