Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: John Arundel

No description

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

Brief outline
【One-Line Pitch】 For the Love of Go (2023) (John Arundel) (Z-Library) (John Arundel): a quick map of the book's arc and key takeaways for busy readers. 【Book Arc】 - **Opening (~0%–12%)**: What version of Go does it cover?; ening statements Statements Declarations What is assignment? - **Early (~12%–35%)**: olution to that exercise in the numbered folder of the repo.; is humble, and that’s a good attitude for us to adopt, too. - **Middle (~35%–65%)**: e able to use the gofmt -d command to check your formatting.; s, and only one of them is failing at the moment. - **Late (~65%–88%)**: pass by default, if we don’t do anything to make them fail.; ut this would be tedious for many different pairs of inputs. - **Ending (~88%–100%)**: testCases { got , err : calculator .; lue indicating whether or not the whole operation succeeded. 【Key Takeaways】 - **What version of Go doe…** (Opening): What version of Go does it cover? - **ening statements State…** (Opening): ening statements Statements Declarations What is assignment? - **ays Going further Titl…** (Opening): ays Going further Title Page Cover Table of Contents ch001.xhtml Praise for For the Love of Go A great way to dive into Go! - **olution to that exerci…** (Early): olution to that exercise in the numbered folder of the repo. - **is humble** (Early): is humble, and that’s a good attitude for us to adopt, too. - **s book we’ll be workin…** (Early): s book we’ll be working together to develop a project in Go. 【Reading Tips】 - Use Passage locations below to jump into the text and set reading anchors - If this is a brief outline, click Regenerate (top right) for a synthesized guide 【Coverage Limits】 Compressed outline without the model (~33 index chunks). Full structured guide needs AI available.
Excerpt 1
eaways 5. Story time User stories What are the core stories? The first story Struct variables The short declaration form Referencing struct fields Writing th...
View in text
Excerpt 2
is humble, and that’s a good attitude for us to adopt, too. It doesn’t claim to be the world’s greatest programming language, the most advanced, or the most...
View in text
Excerpt 3
der structure we should end up with: calculator/ calculator.go calculator_test.go go.mod Again, you don’t need to fully understand what this code is doing ye...
View in text
Excerpt 4
ommend the standard, built-in testing package to start with. We’ll be using the testing package a lot, so it’s worth taking a little time to read the documen...
View in text
Excerpt 5
and line where the failure happened, as well as what failed. The import keyword tells Go what other packages we want to use in this particular Go file. The t...
View in text
Excerpt 6
we would like to write just one test that tests many cases. For each case, we’ll do what we did before: call the Add function with the inputs a and b , and c...
View in text
Excerpt 7
e saying that Divide is going to return two results, though. The first is got , as usual—the answer to the sum. But we’re adding a second result: the error i...
View in text
Excerpt 8
he test function. What about the “invalid input” case, then? Let’s keep to our plan of “one behaviour, one test”. So we’ll write a new test function named af...
View in text
Tags
AI categories
Go
Publisher: Bitfield Consulting
Publish Year: 2022
Language: English
File Format: EPUB
File Size: 2.9 MB