_1

package
v0.0.0-...-eb36113 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAndPrintUsers

func GetAndPrintUsers(crawler ICrawler)

Types

type ICrawler

type ICrawler interface {
	GetUserList() ([]*User, error)
}

type MyCrawler

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

func (*MyCrawler) GetUserList

func (c *MyCrawler) GetUserList() ([]*User, error)

type User

type User struct {
	Name string
	Age  int
}

Jump to

Keyboard shortcuts

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