https://github.com/abakum/fam
golang modules are just like family members
https://github.com/abakum/fam
go-workspace golang gopls modules multi-root vscode
Last synced: about 1 month ago
JSON representation
golang modules are just like family members
- Host: GitHub
- URL: https://github.com/abakum/fam
- Owner: abakum
- Created: 2023-06-28T10:56:52.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-28T11:46:58.000Z (almost 2 years ago)
- Last Synced: 2024-06-21T02:08:10.236Z (11 months ago)
- Topics: go-workspace, golang, gopls, modules, multi-root, vscode
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fam
golang modules are just like family members
- [VS Code multi-root workspace](https://code.visualstudio.com/docs/editor/multi-root-workspaces) for [fam.code-workspace](fam.code-workspace)
- [golang workspace](https://github.com/golang/tools/blob/master/gopls/doc/workspace.md) for [go.work](go.work)
## Usage
```
cd \famgo work init
go work use dad
go work use brocd bro
go mod init brocd ..\dad
go mod init dad
mklink e.go ..\mom\e.gogo get rsc.io/quote
go run .cd ..
git init
git add *
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/abakum/fam.git
git push -u origin main
```
## [Look](dad/main.go)
