Documentation ¶
Index ¶
- type Client
- type GolangFile
- func (g GolangFile) IsDir() bool
- func (g GolangFile) Lstat() (os.FileInfo, error)
- func (g GolangFile) ModTime() time.Time
- func (g GolangFile) Mode() fs.FileMode
- func (g GolangFile) Name() string
- func (g GolangFile) Open() (io.ReadCloser, error)
- func (g GolangFile) Path() string
- func (g GolangFile) Size() int64
- func (g GolangFile) Sys() any
- type GolangModule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GolangModule ¶
func (c *Client) GolangModule(mod GolangModule) (*bytes.Buffer, error)
func (*Client) GolangRoot ¶
type GolangFile ¶
type GolangFile struct {
// contains filtered or unexported fields
}
func NewGolangFile ¶
func NewGolangFile(name string, path string, content []byte) GolangFile
func (GolangFile) IsDir ¶
func (g GolangFile) IsDir() bool
func (GolangFile) ModTime ¶
func (g GolangFile) ModTime() time.Time
func (GolangFile) Mode ¶
func (g GolangFile) Mode() fs.FileMode
func (GolangFile) Name ¶
func (g GolangFile) Name() string
func (GolangFile) Open ¶
func (g GolangFile) Open() (io.ReadCloser, error)
func (GolangFile) Path ¶
func (g GolangFile) Path() string
func (GolangFile) Size ¶
func (g GolangFile) Size() int64
func (GolangFile) Sys ¶
func (g GolangFile) Sys() any
type GolangModule ¶
type GolangModule struct { CanonicalVersion string ImportPath string Files []GolangFile }
func (*GolangModule) ModuleFiles ¶
func (g *GolangModule) ModuleFiles() []zip.File
Click to show internal directories.
Click to hide internal directories.