Help us shape the future of Go! Take the 2026 Go Developer Survey

feed

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Since     time.Duration
	Ecosystem string
	Limit     int
}

type Result

type Result struct {
	Since     string                `json:"since"`
	Ecosystem string                `json:"ecosystem,omitempty"`
	Limit     int                   `json:"limit"`
	Total     int                   `json:"total"`
	Shown     int                   `json:"shown"`
	Window    source.WindowStats    `json:"window"`
	Corpus    source.CorpusStats    `json:"corpus,omitempty"`
	Packages  []source.PackageEntry `json:"packages"`
	FromCache bool                  `json:"-"`
	Source    string                `json:"source,omitempty"`
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(cfg *config.Config, provider intel.Provider) *Service

func (*Service) List

func (s *Service) List(ctx context.Context, opts Options) (*Result, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL