Versions in this module Expand all Collapse all v1 v1.5.1 Nov 7, 2019 v1.5.0 Nov 4, 2019 Changes in this version + func PackNupkg(ns *nuspec.NuSpec, basePath string, outputPath string) ([]byte, error) + func PushNupkg(fileContents []byte, apiKey string, host string) (int, int64, error) + func SampleNuSpec(id string, user string) *nuspec.NuSpec + type ContentTypeEntry struct + ContentType string + Extension string + type ContentTypes struct + Entry []*ContentTypeEntry + XMLName xml.Name + Xmlns string + func NewContentTypes() *ContentTypes + func (ct *ContentTypes) Add(ext string) + func (ct *ContentTypes) ToBytes() ([]byte, error) + type PsmdcpFile struct + Creator string + Description string + Identifier string + Keywords string + LastModifiedBy string + Version string + XMLNS string + XMLNSdc string + XMLNSdcterms string + XMLNSxsi string + XMLName xml.Name + func NewPsmdcpFile() *PsmdcpFile + func (pf *PsmdcpFile) ToBytes() ([]byte, error) + type Rel struct + ID string + Target string + Type string + type RelFile struct + Rels []*Rel + XMLName xml.Name + XMLns string + func NewRelFile() *RelFile + func (rf *RelFile) Add(t string, targ string) + func (rf *RelFile) ToBytes() ([]byte, error)