option

package
v0.0.0-...-cb0c101 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOption

func GetOption(opts ...Option) *option

Types

type Option

type Option func(*option)

func WithAfterStr

func WithAfterStr(after string) Option

func WithOutputType

func WithOutputType(t string) Option

func WithRepoLang

func WithRepoLang(lang string) Option

func WithRepoListLimit

func WithRepoListLimit(limit int) Option

func WithRepoSort

func WithRepoSort(name string) Option

func WithRepoTopic

func WithRepoTopic(topic string) Option

func WithRepoType

func WithRepoType(t string) Option

func WithTargetUser

func WithTargetUser(user string) Option

func WithTopicOpenUrl

func WithTopicOpenUrl(open bool) Option

func WithUseCache

func WithUseCache(use bool) Option

Jump to

Keyboard shortcuts

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