Skip to content

Commit

Permalink
Formatted the code
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 16, 2024
1 parent 5ef8db9 commit fd1c2ba
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
1 change: 1 addition & 0 deletions Go/Basics/07-arrays-slices.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ for i, fruit := range fruits {
// 1 banana
// 2 grapes
```

---

### 2D slices or Slice of slices
Expand Down
1 change: 0 additions & 1 deletion Go/Basics/10-pointers.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,3 @@ func main(){
```

NOTE that `c` is not a pointer to in the calling fuction but the method still gains access to a pointer to `c`.

2 changes: 1 addition & 1 deletion Go/Concurrency/3-buffered-channels.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,4 +317,4 @@ func main() {
saveBackups(snapshotTicker, saveAfter)
fmt.Println()
}
```
```
18 changes: 9 additions & 9 deletions Go/wise-words.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
The [Go Proverbs](https://go-proverbs.github.io/) are a beautiful collection of wise words from Rob Pike, one of Go's creators.

> Don't communicate by sharing memory, share memory by communicating.
>
>
> Concurrency is not parallelism.
>
>
> Channels orchestrate; mutexes serialize.
>
>
> The bigger the interface, the weaker the abstraction.
>
>
> Make the zero value useful.
>
>
> interface{} says nothing.
>
> Gofmt's style is no one's favorite, yet gofmt is everyone's favorite.
>
>
> A little copying is better than a little dependency.
>
>
> Syscall must always be guarded with build tags.
>
>
> Cgo must always be guarded with build tags.
>
> Cgo is not Go.
Expand All @@ -40,4 +40,4 @@ The [Go Proverbs](https://go-proverbs.github.io/) are a beautiful collection of
>
> Don't panic.
@[youtube](https://www.youtube.com/watch?v=PAAkCSZUG1c)
@[youtube](https://www.youtube.com/watch?v=PAAkCSZUG1c)

0 comments on commit fd1c2ba

Please sign in to comment.