package
Version:
v0.0.0-...-89f4574
Opens a new window with list of versions in this module.
Published: Sep 29, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
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.
Static stores a list of Googlers in a hard-coded list
NewStatic instantiates and returns a new Static struct
IsGoogler checks if the given username is a Googler or not.
Update indicates the repository to update
Source Files
¶
Click to show internal directories.
Click to hide internal directories.