Code Organization

This lesson explains how to organize code in Go using an example

We'll cover the following

Example

Methods can be defined on any file in the package, but my recommendation is to organize the code as shown below:

Get hands-on with 1200+ tech skills courses.