github

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2025 License: Unlicense Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const SearchAttr = "search"

Variables

This section is empty.

Functions

func New

func New() (string, starlark.Value)

func SearchBuiltin

func SearchBuiltin() modules.BuiltinFunc

Types

type Client

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

func NewClient

func NewClient(host string) *Client

func (*Client) Issues

func (c *Client) Issues(ctx context.Context, queries ...string) ([]search.Issue, error)

type Item

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

func (*Item) Attr

func (i *Item) Attr(name string) (starlark.Value, error)

func (*Item) AttrNames

func (i *Item) AttrNames() []string

func (*Item) Freeze

func (i *Item) Freeze()

func (*Item) Group

func (i *Item) Group() string

func (*Item) Hash

func (i *Item) Hash() (uint32, error)

func (*Item) Issue

func (i *Item) Issue() search.Issue

func (*Item) Priority

func (i *Item) Priority() int64

func (*Item) SetField

func (i *Item) SetField(name string, val starlark.Value) error

func (*Item) Status

func (i *Item) Status() string

func (*Item) String

func (i *Item) String() string

func (*Item) Truth

func (i *Item) Truth() starlark.Bool

func (*Item) Type

func (i *Item) Type() string

func (*Item) URL

func (i *Item) URL() string

type ItemType

type ItemType string
const (
	ItemTypeIssue       ItemType = "issue"
	ItemTypePullRequest ItemType = "pullrequest"
)

type Module

type Module struct{}

func (*Module) Attr

func (m *Module) Attr(name string) (starlark.Value, error)

func (*Module) AttrNames

func (m *Module) AttrNames() []string

func (*Module) Freeze

func (m *Module) Freeze()

func (*Module) Hash

func (m *Module) Hash() (uint32, error)

func (*Module) String

func (m *Module) String() string

func (*Module) Truth

func (m *Module) Truth() starlark.Bool

func (*Module) Type

func (m *Module) Type() string

Jump to

Keyboard shortcuts

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