googlers

package
v0.0.0-...-89f4574 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver interface {
	IsGoogler(user string) bool
	Update()
}

Resolver describes a struct that can be used to determine if a given user is a Googler or not.

type Static

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

Static stores a list of Googlers in a hard-coded list

func NewStatic

func NewStatic() *Static

NewStatic instantiates and returns a new Static struct

func (*Static) IsGoogler

func (s *Static) IsGoogler(user string) bool

IsGoogler checks if the given username is a Googler or not.

func (*Static) Update

func (s *Static) Update()

Update indicates the repository to update

Jump to

Keyboard shortcuts

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