searchtelnum

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: MIT Imports: 7 Imported by: 0

README

Search Tel Num

About

  • use golang.org/x/net/html
  • If you give searchtelnum your company name and zip code, it will return your phone number.
  • Use Google to search for it
  • It's faster than goquery for this purpose alone.

Install

$ go get -u github.com/sohey-dr/searchtelnum

Usage

Example
package main

import (
        "log"
        "github.com/sohey-dr/searchtelnum"
)

func main() {
	telNum, err := searchtelnum.Run("Example Inc.", "〒XXX-XXXX")
	if err != nil {
		log.Fatalln(err)
	}
	fmt.Println(telNum)
}

License

Released under the MIT License.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(companyName string, postalCode string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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