homograph

package module
v0.0.0-...-8fd8000 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: MIT Imports: 1 Imported by: 0

README

homograph

Installation

go get github.com/shota-k2018/homograph

Example Usage

package main

import (
	"github.com/shota-k2018/homograph"
	"log"
)

func main() {
	// If you want to minimize the number of patterns generated, set the second argument to true
	log.Printf("gen: %+v", homograph.Generate("test"), false)
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(input string, minimum bool) []string

func Punycode

func Punycode(input string, minimum bool) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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