Basic Package File Structure and go.mod File Explained in Go (Golang)

Опубликовано: 31 Март 2026
на канале: Zoran Stankovic
528
13

In this video, we will talk about basic package file structure and how we can call functions inside other Go source files. We will talk a little bit about modules in #go (#golang) and go.mod file. How to use the `go mod init` command.
#coding #programming #tutorial

Link to my blog post: https://zoranstankovic.com/basic-pack...

Chapters:
0:00 Intro
0:35 Hello World Example
0:57 Exercise
1:42 Exercise Solution
2:48 Calling function from another file
3:04 What are modules in Go?
3:49 go mod init command
4:25 go.mod file explained
5:28 Build and Run Go program
6:32 Outro

📣 Please leave a LIKE and SUBSCRIBE for more content! 📣

Follow me on:
🌍Website: https://zoranstankovic.com
📱Twitter:   / ryunosukezoran  
🔗Github: https://github.com/zoranstankovic