Skip to content

Commit

Permalink
updated Readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchitrk committed Sep 10, 2024
1 parent 4e39590 commit 58bbc65
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@
# namingo
A random name generator in Go.
# Namingo

## Usage

Namingo is a [package](https://golang.org/doc/code#ImportingRemote), so all you need to do is import it into your code:
```go
package main

import (
"fmt"
"github.com/sanchitrk/namingo"
)

func main() {
fmt.Println(namingo.Generate(1, " ", namingo.TitleCase()))
fmt.Println(namingo.Generate(2, " ", namingo.LowerCase()))
}
```

0 comments on commit 58bbc65

Please sign in to comment.