GOAL 4: Blinking the Separators Notes Note main.go file contains the solution of the previous step. "solution" folder contains the solution for this step. Challenge Steps Separators should be visible
阅读全文
go GOAL 1: Printing the Digits
GOAL 1: Printing the Digits Challenge Steps Define a new placeholder type Create the digits from "zero" to "nine" You can use these characters for the clock: Digit character : █ Separator character :
阅读全文
go 15-project-retro-led-clock
NOTES I've explained the challenges and the solutions step by step So, if you get stuck, you can check out the next step without having to look at the entire final solution You can find the explanatio
阅读全文
go Exercises
Exercises These exercises will reinforce your knowledge of manipulating arrays. You will prove yourself that you can write easy to maintain Go programs. Refactor In this exercise, you will refactor th
阅读全文
go GOAL 3: Animate the Clock
GOAL 3: Animate the Clock Notes Note main.go file contains the solution of the previous step. "solution" folder contains the solution for this step. Challenge Steps Create an infinite loop to update t
阅读全文
go GOAL 2: Printing the Clock
GOAL 2: Printing the Clock Notes Note main.go file contains the solution of the previous step. "solution" folder contains the solution for this step. Challenge Steps Get the current time Get the curre
阅读全文
go Types
Types Find the Optimal Types Fix the Type Problem Parse Arg Numbers Time Multiplier Refactor Feet to Meter Convert the Types
阅读全文
go questions
Why are maps used for? For example, here is an inefficient program that uses a loop to find an element among millions of elements. millions := []int{/* millions of elements */} for _, v := range milli
阅读全文
go Header
Header What you will learn? Warm Up Create and print the maps. Populate and Lookup Add elements to the maps that you've declared in the first exercise, and try them by looking up for the keys. Hogwart
阅读全文
learngo
learngo的目录
阅读全文