internal

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultClient

func DefaultClient() *github.Client

func TryGetId added in v0.0.18

func TryGetId[T NameOrId](x T) (int64, bool)

Types

type ContextAccessor

type ContextAccessor func() context.Context

func BackgroundContext

func BackgroundContext() ContextAccessor

func TodoContext

func TodoContext() ContextAccessor

func (ContextAccessor) Context

func (c ContextAccessor) Context() context.Context

type NameOrId added in v0.0.18

type NameOrId interface {
	~string | ~int64
}

type ReadOnlyFile

type ReadOnlyFile struct{}

func (ReadOnlyFile) Sync

func (ReadOnlyFile) Sync() error

Sync implements afero.File.

func (ReadOnlyFile) Truncate

func (ReadOnlyFile) Truncate(int64) error

Truncate implements afero.File.

func (ReadOnlyFile) Write

func (ReadOnlyFile) Write([]byte) (n int, err error)

Write implements afero.File.

func (ReadOnlyFile) WriteAt

func (ReadOnlyFile) WriteAt([]byte, int64) (n int, err error)

WriteAt implements afero.File.

func (ReadOnlyFile) WriteString

func (ReadOnlyFile) WriteString(string) (ret int, err error)

WriteString implements afero.File.

type ReadOnlyFs added in v0.0.21

type ReadOnlyFs = afero.ReadOnlyFs

Jump to

Keyboard shortcuts

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