internal

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 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

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

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

type ReadOnlyFs = afero.ReadOnlyFs

Jump to

Keyboard shortcuts

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