soypat / gopherlings Goto Github PK
View Code? Open in Web Editor NEW๐๏ธ Learn Go by fixing tiny incorrect programs
License: MIT License
๐๏ธ Learn Go by fixing tiny incorrect programs
License: MIT License
After finishing "030-pointermethod2" the gopherlings watch window prints a congratulatory message - even though there are (currently) 32 problems in the set.
Do something else :D
Sorry, I don't have insight into the gopherlings watch program, I don't know if this is as simple as changing "30" to "32" or if this is a colossal change request.
I finished exercise 19 and the gopherlings watch window gave me an error message that did not at all resemble exercise 20 (because it skipped directly to exercise 21)
Add
// I AM STILL GOING
to exercise 20
EDIT: Also separately - thank you for maintaining this repo. Despite what my issues might indicate, I am very happy to have this training resource.
I'm trying to run this similar to rustlings (rustlings watch). I followed the instructions in the readme and no matter what I do, i can not get the gopherlings command to work. Does anyone have any suggestions? Thank you.
I always use air when I develop go program. It will run main.go automatically when I change the code.
If I use air
instead of go run main.go
. I can just focus on correcting code.
The current text is technically false. As of today, it is written:
// Problem:
// For statements can also have init and post statements in the clause.
//
// for i := 0; i <= 10; i = i + 1 {
// fmt.Println(i)
// }
//
// The above for loop will iterate from 0 to 10 and is
// identical in functionality to the following
// single-condition for statement:
//
// i := 0
// for i <= 10 {
// fmt.Println(i)
// i = i + 1
// }
which would leave i
in scope after the loop block, which is true in some languages but not here.
The exercise text could instead be
// Problem:
// For statements can also have init and post statements in the clause.
//
// for i := 0; i <= 10; i = i + 1 {
// fmt.Println(i)
// }
//
// The above for loop will iterate from 0 to 10 and is
// identical in functionality to the following
// single-condition for statement:
//
// {
// i := 0
// for i <= 10 {
// fmt.Println(i)
// i = i + 1
// }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.