Skip to content

Commit

Permalink
Merge pull request #6 from edoardottt/devel
Browse files Browse the repository at this point in the history
update
  • Loading branch information
edoardottt authored Apr 6, 2023
2 parents c450f85 + 91f48be commit 1dc7108
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# gonesis
Create Golang project structure ready to be pushed on GitHub with a single command (Go + Genesis)
Create Golang project template ready to be pushed on GitHub with a single command (Go + Genesis)

Installation 📡
-------
Expand Down
5 changes: 4 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
gonesis
Create Golang project structure ready to be pushed on GitHub with a single command
Create Golang project template ready to be pushed on GitHub with a single command
https://github.com/edoardottt/gonesis
Expand All @@ -28,13 +28,16 @@ const (
Permission0755 = 0755
Permission0775 = 0775
MDBashInit = "```bash"
Banner = "gonesis v1.0.1\n\thttps://github.com/edoardottt/gonesis\n\n"
)

var (
ErrProjectName = errors.New("the project name can contains only alphanumeric characters, _ and -")
)

func main() {
fmt.Print(Banner)

projectName, err := ProjectName()
if err != nil {
log.Fatal(err)
Expand Down

0 comments on commit 1dc7108

Please sign in to comment.