🚀 Get 25% off access to all my premium courses - use discount code FUNCMAIN at checkout - view the pricing page now!

Video:

Setting Up Our Mono-Repo

May 21, 2021

Course Instructor: Elliot Forbes

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.

Twitter: @Elliot_f

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