Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.
/ gomo Public archive

๐Ÿ“ Simple Golang multi modules tool. inspired from turborepo.

License

Notifications You must be signed in to change notification settings

abdfnx/gomo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

42 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Gomo Gomo

Gomo is a Simple Golang multi modules tool.

Installation โฌ‡

Using script

  • Shell
curl -sL https://bit.ly/gomo-cli | bash
  • PowerShell
iwr -useb https://bit.ly/gomo-win | iex

then restart your powershell

Homebrew

brew install abdfnx/tap/gomo

Usage

  • Creates a new gomo.json file in the current folder
gomo init
  • Initialize a new module
gomo init --mod github.com/x/x2 --path dir
  • Download go packages through all your modules
gomo
  • Get a go package and add it through all modules
gomo get github.com/gorilla/mux
  • Delete a go package through all modules
gomo delete github.com/example/example1
  • Update all packages
gomo update
  • Add any missing packages necessary to build all your modules
gomo tidy

Gomo config file

{
  "cmds": {
    "download": "go mod download",
    "update": "go get -u"
  },
  "modules": [
    ".",
    "test",
    "test/web"
  ]
}

Technologies Used in Tran

License

gomo is licensed under the terms of MIT license.