// Package client contains the client implementations for several providers. package client import ( "bytes" "os" "github.com/goreleaser/goreleaser/context" ) // Info of the repository type Info struct { Description string Homepage string URL string } // Client interface type Client interface { CreateRelease(ctx *context.Context, body string) (releaseID int, err error) CreateFile(ctx *context.Context, content bytes.Buffer, path string) (err error) Upload(ctx *context.Context, releaseID int, name string, file *os.File) (err error) }