Which one below is a correct package type in Go? Empty package Executable package CORRECT Transferrable package Librarian package Which package type go run can execute? Empty package Executable packag
阅读全文
go exercises
Use your own package Create a few Go files and call their functions from the main function. Try the scopes Learn the effects of scoping across packages. Rename imports Import the same package using a
阅读全文
go questions
What is an input stream? Any data source that generates contiguous data like Standard Input CORRECT An input from a user The contents of a file The contents of a website 1: That's right. The input str
阅读全文
go Exercises
Exercises Let's exercise with the scanner and maps. Uppercaser Use a scanner to convert the lines to uppercase, and print them. Unique Words Create a program that counts the unique words from an input
阅读全文
go Switch Statement
Switch Statement Richter Scale Richter Scale #2 Convert String Manipulator Days in a Month
阅读全文
go ☢️ USE THE FOLLOWING DIRECTORIES INSTEAD! ☢️
The course videos follow this directory. So, you can find the lecture files in the same place as they are explained in the course videos. But then I've moved them into their own directories. This dire
阅读全文
go questions
Which one is a correct function declaration? add func(a, b int) {} function run(a int, b int) {} func run(int a, b) {} func run(a, b int) {} CORRECT Which one is the input and result names of the foll
阅读全文
go Function Exercises
Function Exercises Refactor the Game Store to Funcs - Step #1 Remember the game store program from the structs exercises? Now, it's time to refactor it to funcs. Refactor the Game Store to Funcs - Ste
阅读全文
go Type Conversion
Type Conversion Here are 5 exercises for you. You must find the errors and then fix them using the correct type conversions. Convert and Fix #1 Convert and Fix #2 Convert and Fix #3 Convert and Fix #4
阅读全文
go questions
What happens when you assign a variable to another variable? The variables become the same variable Assignee variable gets deleted Variable's value is changed to the assigned variable's value CORRECT
阅读全文