genderize

package module
v0.0.0-...-a2b68cd Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

README

go.genderize

golang api for genderize

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Client httpctx.HttpClient
}

func New

func New() *Client

func (*Client) Query

func (c *Client) Query(names ...string) (Results, error)

func (*Client) QueryWithContext

func (c *Client) QueryWithContext(ctx context.Context, names ...string) (Results, error)

type Result

type Result struct {
	Name        string  `json:"name"`
	Gender      string  `json:"gender"`
	Probability float64 `json:"probability"`
	Count       int     `json:"count"`
}

type Results

type Results []Result

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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