learngo
learngo copied to clipboard
❤️ 1000+ Hand-Crafted Go Examples, Exercises, and Quizzes. 🚀 Learn Go by fixing 1000+ tiny programs.
Not sure if it was meant to be more verbose than necessary for educational purposes or not.
Part of the exercise (https://github.com/inancgumus/learngo/tree/master/13-loops/exercises/10-crunch-the-primes) asks the reader to re-implement this algorithm (https://stackoverflow.com/questions/1801391/how-to-create-the-most-compact-mapping-n-%e2%86%92-isprimen-up-to-a-limit-n/1801446#1801446) in order to build the logic to pass the challenge. The expected output is: // go run...
``` package main import "fmt" type computer struct { brand string } func main() { c := &computer{} change(c, "apple") fmt.Printf("brand: %s\n", *c.brand) // need to remove * } func...
here I update case condition & runes(delete two spaces 1.before "haritası" 2.before "gözlerden") so that it's give output like (example_output.text) and if you want to keep runes as it is...

Program won't run without Gopls being installed
It takes me about 3 hours to translate this section, thanks for your impressive work. Can't really imagine how much time you spent on this project and it helps a...
Currently, the example of an expected slice is wrong and doesn't match neither with the expected output a few lines below nor with the output from the solution to the...
https://github.com/inancgumus/learngo/blob/e366d1a364eba61a08f84a17ef6dbf60818aa144/13-loops/exercises/08-lucky-number-exercises/01-first-turn-winner/solution/main.go#L54C17-L54C17 the random number should not be effected by the users entry. In the example passing in one will always result in you winning since Intn is limited to the...
Hello! I really love your project, can i fork the project, make a new branch, translate it, and then send a PR to you?