25% off

Use code FUNCMAIN at checkout for 25% off all premium courses.

Get started →

Setting Up Our Mono-Repo

May 21, 2021
Elliot Forbes

Elliot Forbes

Course Instructor

Hey Gophers! My name is Elliot and I'm the creator of TutorialEdge and I've been working with Go systems for roughly 5 years now.

In this video, we are going to look at creating a new repo under which we’ll store not only the protos definitions, but also the

Monorepos

Steps

Create a new directory

$ git init
$ gh repo create
? Repository name <USERNAME>/tutorial-protos
? Repository description
? Visibility Public
? This will create 'TutorialEdge/tutorial-protos' in your current directory. Continue?  Yes
✓ Created repository TutorialEdge/tutorial-protos on GitHub
✓ Added remote https://github.com/TutorialEdge/tutorial-protos.git

Our Makefile

build:
	protoc --go_out=plugins=grpc:. protos/**/*.proto

Committing our Built Protos

$ git add -A
$ git commit -m "initial commit"
$ git push origin main