Skip to content

Commit 38a5715

Browse files
Merge pull request #388 from geekxxxx/master
chore: fix some typos
2 parents 205c235 + 6f0cc39 commit 38a5715

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ There is a book for all of the material in the class.
4343

4444
We have taught Go to thousands of developers all around the world since 2014. There is no other company that has been doing it longer and our material has proven to help jump-start developers 6 to 12 months ahead of their knowledge of Go. We know what knowledge developers need in order to be productive and efficient when writing software in Go.
4545

46-
Our classes are perfect for intermediate-level developers who have at least a few months to years of experience writing code in Go. Our classes provide a very deep knowledge of the programming langauge with a big push on language mechanics, design philosophies and guidelines. We focus on teaching how to write code with a priority on consistency, integrity, readability and simplicity. We cover a lot about “if performance matters” with a focus on mechanical sympathy, data oriented design, decoupling and writing/debugging production software.
46+
Our classes are perfect for intermediate-level developers who have at least a few months to years of experience writing code in Go. Our classes provide a very deep knowledge of the programming language with a big push on language mechanics, design philosophies and guidelines. We focus on teaching how to write code with a priority on consistency, integrity, readability and simplicity. We cover a lot about “if performance matters” with a focus on mechanical sympathy, data oriented design, decoupling and writing/debugging production software.
4747

4848
## Our Teachers
4949

topics/go/algorithms/fun/pubsub/publisher.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ type Publisher struct {
1111
clients *Clients
1212
}
1313

14-
// NewPublisher connects to the publisher can recieves messages.
14+
// NewPublisher connects to the publisher can receives messages.
1515
func NewPublisher(clients *Clients) *Publisher {
1616
pub := Publisher{
1717
clients: clients,

topics/go/algorithms/searches/binarysearch/binarysearch.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import "fmt"
55

66
// binarySearchIterative takes a sorted list of numbers and uses the
77
// `iterative` process to find the target. The function returns the
8-
// index postion of where the target is found.
8+
// index position of where the target is found.
99
// - the worst case of this algorithm is O(logn)
1010
// - the best case of this algorithm is O(1)
1111
func binarySearchIterative(sortedList []int, target int) (int, error) {

topics/go/exercises/contributors/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ A [template file](template/main.go) is included to get you started.
2828
# Part 3: Testing
2929

3030
- Add tests for `printContributors`. Create a mock version of the github client
31-
and pass that in. To capture the ouput you can change the `printContributors`
31+
and pass that in. To capture the output you can change the `printContributors`
3232
function to accept an `io.Writer` where it should print results.
3333
- Add tests for the `github` package using `net/http/httptest.NewServer`.
3434

topics/go/generics/04-behavior-constraint/generic.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func stringifyAssert(v interface{}) []string {
8080

8181
// This function provides a reflection solution which allows a slice of any
8282
// type to be provided and stringified. This is a generic function thanks to the
83-
// reflect package. Notice the call to the String method via relfection.
83+
// reflect package. Notice the call to the String method via reflection.
8484

8585
func stringifyReflect(v interface{}) []string {
8686
val := reflect.ValueOf(v)

topics/go/generics/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Generics
22

3-
This is inital code to showcase the current implementation of the Go spec for generics that can be found [here](https://go.googlesource.com/proposal/+/refs/heads/master/design/go2draft-type-parameters.md). This code is subject to break and change as the proposal and its implementation is flushed out.
3+
This is initial code to showcase the current implementation of the Go spec for generics that can be found [here](https://go.googlesource.com/proposal/+/refs/heads/master/design/go2draft-type-parameters.md). This code is subject to break and change as the proposal and its implementation is flushed out.
44

55
There is a [go2go](https://go2goplay.golang.org/) playground that will allow you to experiment with the current proposal. `go2go` is a [transpiler](https://en.wikipedia.org/wiki/Source-to-source_compiler) that converts generics syntax into regular Go code. This is the tooling you need to experiment with the draft.
66

topics/go/generics/omissions/03-type-assertions/generic.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
// ==============================================================================
99

1010
// The Min function needs to know what type `T` becomes so it can perform a
11-
// converstion if necessary. This operation is possible by manually placing
11+
// conversion if necessary. This operation is possible by manually placing
1212
// the value of type T in an interface. This syntax would be a convenience.
1313
// ex. switch v := interface{}(a).(type)
1414

topics/go/profiling/project/search/search.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func Submit(uid string, options Options) []Result {
8080
continue
8181
}
8282

83-
// Wait to recieve results.
83+
// Wait to receive results.
8484
found := <-results
8585

8686
// Save the results to the final slice.

0 commit comments

Comments
 (0)