Go (Golang) Tutorial #4 - Printing & Formatting Strings

preview_player
Показать описание
Hey gang, in this Go tutorial you'll learn how to use the "fmt" package to print out data to the console & format strings using variables with the Prinf / Sprintf methods.

🐱‍👤 View this course in full without ads on Net Ninja Pro:

🐱‍💻 Course Files:

🐱‍👤 JOIN THE YOUTUBE NET NINJA GANG -

🐱‍💻 🐱‍💻 My Udemy Courses:

🐱‍💻 Useful playlists:

🐱‍💻 Social Links:
Рекомендации по теме
Комментарии
Автор

Thanks for starting this series, I have been waiting for this

nitin
Автор

Your channel is the reason I now own a house.

MarcusBryan
Автор

Great series. I would love to see React/Node/PostgresSQL fullstack project in the future. Thank you

LoveisHell
Автор

Thank you so much Shaun! Will you also make a series on REST API in Go?

Edit: Did you notice how quick VS Code showed the errors while working with Go compared to JS

MaxProgramming
Автор

what about string interpolation like in js ?
` some string ${someVar} `

void_star_void
Автор

@The Net Ninja, Can you please consider uploading full series of styled components for React

kovendanragupathi
Автор

Thank you for this shaun, however i have 2 questions, 1. I noticed you don't end your statements with a semicolon, is it not required? 2. I also noticed that when you run your main file to demo your examples, its takes some time to output on the console, why is that? Thank you...

noaexel
Автор

You mentioned that you'll leave a link to the format specifiers but I'm not seeing it in the description.

gyenabubakar
Автор

You should have explained why %q was changing the number to a character. (Essentially, 35 is the ASCII code for '#'.)

oglothenerd
Автор

How are you able to switch between the terminal and the console. I am new to this program and the software as well and I it makes the learning a bit slow if I have to keep clicking between the terminal and where I am writing my code. Please help

nanaarhin
Автор

In the formated string, when I did fmt.Printf("my age is %v and my name is %v", age, name), at the terminal, there would be a % at the end of the sentence, do you know what that is?

dlysele
Автор

Go seems to have been heavily inspired by C

manh
Автор

What jobs requires Golang?? lol I need a job so I don't look like a dissapointment, anyways coding is fun! Is Golang a necessary language for Cybersecurity??

chwderz
Автор

what's the difference between using sprintf to assign a variable and assigning string directly to the variable?

sahilchanglani
Автор

when a language doesn't have string inerpolation in 2023... :/

splytrz
visit shbcf.ru