main.go 源码
阅读全文
go main
main.go 源码
阅读全文
go OS X INSTALLATION CHEATSHEET
OS X INSTALLATION CHEATSHEET NOTE If you have homebrew installed, you can easily install Go like so: # if you don't have git install it like so: brew install git # then install go brew install go # ad
阅读全文
go PROGRAMMER'S ROADMAP
PROGRAMMER'S ROADMAP Hi! If you're an experienced developer, you may want to watch only the following lectures. If you follow this roadmap, you will need to watch about 50 lectures instead of 180 lect
阅读全文
go WINDOWS INSTALLATION CHEATSHEET
WINDOWS INSTALLATION CHEATSHEET NOTE If you have chocolatey.org package manager, you can easily install Go like so: choco install golang 1- Install Visual Studio Code Editor Install it but don't open
阅读全文
go Linux Installation Cheatsheet
Linux Installation Cheatsheet If you want to use snap, you can easily install Go like so: sudo snap install go --classic Otherwise, please follow the steps below: 1. Update the local packages sudo apt
阅读全文
go How to fix this program?
How to fix this program? package main import ( "fmt" "time" ) func main() { if err != nil; d, err := time.ParseDuration("1h10s") { fmt.Println(d) } } Swap the simple statement with the err != ni
阅读全文
go What does "control flow" mean?
What does "control flow" mean? Changing the top-to-bottom execution of a program Changing the left-to-right execution of a program Deciding which statements are executed CORRECT 1, 2: You can't change
阅读全文
go Why error handling is needed?
Why error handling is needed? I don't know. To control the execution flow. To make a program malware safe. Because, things can go wrong. CORRECT 1: Then, please watch the lecture again! :) 2: Actually
阅读全文
go Which one below is not one of the logical operators of Go?
Which one below is not one of the logical operators of Go? || != CORRECT ! && 2: That's the "not equal" operator. It's a comparison operator, not a logical operator. Which one of these types i
阅读全文