Skip to content

Commit

Permalink
add /v2 at end of go.mod and more
Browse files Browse the repository at this point in the history
  • Loading branch information
Delta456 committed Nov 9, 2020
1 parent 71cdd12 commit d4289eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ In `main.go`
```go
package main

import "github.com/Delta456/box-cli-maker"
import "github.com/Delta456/box-cli-maker/v2"

func main() {
Box := box.New(box.Config{Px: 2, Py: 5, Type: "Single", Color: "Cyan"})
Expand All @@ -53,7 +53,7 @@ func main() {
- `Px` : Horizontal Padding
- `Py` : Vertical Padding
- `ContentAlign` : Align the content inside the Box i.e. `Center`, `Left` and `Right`
- `Type`: Type of Box [*click this for more info*](./README.md/#box-types)
- `Type`: Type of Box (by default it's Single) [*click this for more info*](./README.md/#box-types)
- `TitlePos` : Position of the Title i.e. `Inside`, `Top` and `Bottom` [*click this for more info*](./README.md/#title-positions)
- `Color` : Color of the Box [*click this for more info*](./README.md/#color-types)

Expand Down Expand Up @@ -147,7 +147,7 @@ Using it:
```go
package main

import "github.com/Delta456/box-cli-maker"
import "github.com/Delta456/box-cli-maker/v2"

func main() {
config := box.Config{Px: 2, Py: 3, Type: "", TitlePos: "Inside"}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/Delta456/box-cli-maker
module github.com/Delta456/box-cli-maker/v2

go 1.15

Expand Down

0 comments on commit d4289eb

Please sign in to comment.