Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

apptimedev/go-pin-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Pin Code Generator

apptimedev/go-pin-code

Apptime


Package apptimedev/go-pin-code implements a 6-digit pin code generator.



Install

go get -u github.com/apptimedev/go-pin-code

Examples

Generate a 6-digit pin code:

import (
        "fmt"
        "github.com/apptimedev/go-pin-code"
)

func main() {
        c, s := pincode.GenSix()
      
        fmt.Printf("int: %d\n", c)
        fmt.Printf("string: %s\n", s)
}

License

BSD licensed. See the LICENSE file for details.

Releases

No releases published

Packages

No packages published

Languages