Go (Golang) Tutorial #11 - Package Scope

9831
27
286
31.05.2021
The Net Ninja

The Net Ninja

126167827
1000000
1955
08.04.2015
GB
Описание видео:

In this Golang tutorial we'll take a look at the scope of variables in functions in your Go projects. 🐱‍👤 View this course in full without ads on Net Ninja Pro: 🤍netninja.dev/p/learn-go-golang 🐱‍💻 Course Files: + 🤍github.com/iamshaunjp/golang-tutorials 🐱‍👤 JOIN THE YOUTUBE NET NINJA GANG - 🤍🤍youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg/join 🐱‍💻 🐱‍💻 My Udemy Courses: + Modern JavaScript - 🤍🤍thenetninja.co.uk/udemy/modern-javascript + Vue JS 3 & Firebase - 🤍🤍thenetninja.co.uk/udemy/vue-and-firebase + D3.js & Firebase - 🤍🤍thenetninja.co.uk/udemy/d3-and-firebase 🐱‍💻 Useful playlists: + Modern JavaScript - 🤍🤍youtube.com/watch?v=iWOYAxlnaww&list=PL4cUxeGkcC9haFPT7J25Q9GRB_ZkFrQAc 🐱‍💻 Download Go - 🤍golang.org/dl/ 🐱‍💻 Go Numeric Types (bits) - 🤍golang.org/ref/spec#Numeric_types 🐱‍💻 Go Standard Library (bits) - 🤍golang.org/pkg/ 🐱‍💻 VS Code - 🤍code.visualstudio.com/ 🐱‍💻 Social Links: Facebook - 🤍🤍facebook.com/thenetninjauk Twitter - 🤍twitter.com/thenetninjauk Instagram - 🤍🤍instagram.com/thenetninja/

Кадры из видео
Go (Golang) Tutorial #11 - Package Scope
Go (Golang) Tutorial #11 - Package Scope
Go (Golang) Tutorial #11 - Package Scope
Go (Golang) Tutorial #11 - Package Scope
Тэги из видео
Комментарии пользователей:
Rundik
2022-05-27 10:39:26

I thought the whole point of code splitting is to not have crap like that, but instead have the files isolated and only expose the structures that need to be exposed

Ali Reza
2021-12-01 15:46:43

I read somewhere if you want to run multiple file better use `go run .`
which method is better `go run .` or `go run main.go greeting.go`

Piotr Rybka
2021-10-10 17:24:15

And what about importing different packages (not named "main"), especially those existing in the same folder as main.go file? It's not that simple as writing import "nameOfCustomPackage".

callmenikk
2021-08-07 18:45:22

what if you have a lots files of go lang? are you gonna write down all file name or what?

Elnar Ismayilov
2021-08-01 17:41:53

I instantly like any video of Ninja I see)
P.S. Being subscribed since the time there were 100k subscribers)

leootp22
2021-06-10 16:03:27

I have had a bear of a time understanding how to get this to work with the files in separate subdirectories in the same directory. Any tips? Scoured the internet and haven't seen anything definitive that worked.

Vince Ramces Oliveros
2021-06-01 07:59:02

This is the only tutorial that I'm subscribed because many tutorials on youtube are kind of outdated especially with go modules & package scope. you follow a tutorial and you might have a problem dealing with an error that is not found on older tutorials
I'd like to know more about Go's style guide that enforce me to do best practices as well as understand more.

Somali Gopher
2021-05-31 19:57:22

As middle golang learning but I will add little I've learned go packages takes little to understand but for easygoing Go has package rule (Go Module) and public or functions, For now to make Export Type just capitalize first Letter now you can call out side of this package.

var ,cons, Array ,channels, functions and Interfaces are all types, in Golang every thing is type

D13CNPM1_ Nguyễn Phương Nam
2021-05-31 18:02:06

Can you make course React Native ?

Max Programming
2021-05-31 16:52:43

I think it's a nice feature in Go but the errors in the IDE and running many files at once makes it tedious to use the package system. I guess Shaun will make a video on making it better 👍

A I
2021-05-31 10:25:12

The package system is the reason I never got into Golang...
This and the go get tool...
And the naming enforcement...
And the vile syntax

Parthipan Kalayini
2021-05-31 08:54:59

Hi from today onwards I planned to follow this series about go lang , and can you please clarify below questions plz
1) can we make Games(3D) using golang ?
2)Go vs Rust
&
3) Can I make operating system using go lang???

Andreas Lam
2021-05-31 08:33:54

Hey Shaun, I am in your JS course, can you update Firebase and add more content (more projects please) to the course? Thanks

Что ищут прямо сейчас
地理 Visual Basic Express ragdoll physics high dynamic range Korean Dance Sara Šekularac dahi Racing Wheel Haier sensor Issue Hindi lullabies 肺炎 Global Scale of English simplified дым 大选 şehinşah memphis phonk summer makeup look 호송 recipes using naan bread
Похожие видео
01.06.2021
Go (Golang) Tutorial #12 - Maps

Go (Golang) Tutorial #12 - Maps

24.06.2021
How to Learn Anything FASTER

How to Learn Anything FASTER

16.04.2022
How I Would Learn To Code (If I Could Start Over)

How I Would Learn To Code (If I Could Start Over)

27.11.2021
Zero to Full-Time Programmer in 5 Steps

Zero to Full-Time Programmer in 5 Steps

28.11.2020
Let, Also, Apply, Run, With - Kotlin Scope Functions

Let, Also, Apply, Run, With - Kotlin Scope Functions

11.02.2022
How I Learned to Code in 4 MONTHS & Got a Job Offer (no CS Degree)

How I Learned to Code in 4 MONTHS & Got a Job Offer (no CS Degree)

09.06.2020
Deno Tutorial #2 - Files, Fetch & Permissions

Deno Tutorial #2 - Files, Fetch & Permissions

04.03.2018
Concurrency in Go

Concurrency in Go

14.07.2021
React Testing Library Tutorial #11 - Integration Tests

React Testing Library Tutorial #11 - Integration Tests

02.03.2022
The Worst Programming Language Ever - Mark Rendle - NDC Oslo 2021

The Worst Programming Language Ever - Mark Rendle - NDC Oslo 2021

21.03.2022
Learn Go Programming by Building 11 Projects – Full Course

Learn Go Programming by Building 11 Projects – Full Course

05.08.2022
Golang 1.19: What is new?

Golang 1.19: What is new?

28.05.2021
Go (Golang) Tutorial #10 - Multiple Return Values

Go (Golang) Tutorial #10 - Multiple Return Values

05.03.2021
Golang Packages & Scope Explained!

Golang Packages & Scope Explained!

21.11.2021
GoLang Packages and Modules | Beginners Go Tutorial

GoLang Packages and Modules | Beginners Go Tutorial

15.12.2021
Golang Tutorial for Beginners | Full Go Course

Golang Tutorial for Beginners | Full Go Course