https://github.com/ik-learning/learn-go
Go refresh
https://github.com/ik-learning/learn-go
go golang hackerrank
Last synced: 8 days ago
JSON representation
Go refresh
- Host: GitHub
- URL: https://github.com/ik-learning/learn-go
- Owner: ik-learning
- Created: 2020-04-18T17:12:19.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-12T06:25:09.000Z (10 months ago)
- Last Synced: 2025-04-12T07:27:38.565Z (10 months ago)
- Topics: go, golang, hackerrank
- Language: Go
- Homepage:
- Size: 512 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# golang-refresh
Golang refreshment
## Examples
https://github.com/gofogo/aws-sdk-go-v2
## Tips and Tricks
https://medium.com/@povilasve/go-advanced-tips-tricks-a872503ac859
## References
- [Array Tricks](https://github.com/golang/go/wiki/SliceTricks)
- [Go Formatting](https://pkg.go.dev/fmt#hdr-Printing)
- [Golang Testing](https://blog.jetbrains.com/go/2022/11/22/comprehensive-guide-to-testing-in-go/)
- [How to test output](https://dev.to/lucassha/unit-testing-stdout-in-go-1jd)
- [GolangBot](https://golangbot.com/)
- [Test cmd](https://gianarb.it/blog/golang-mockmania-cli-command-with-cobra)
## Learn Go
- [learn go v1](https://quii.gitbook.io/learn-go-with-tests)
- [learn go v2](https://www.practical-go-lessons.com/chap-34-benchmarks)
- [go 1.24 benchmarking](https://www.bytesizego.com/blog/go-124-new-benchmark-function)
- [more go blogs](https://www.bytesizego.com/blog)
## Code Generation
- https://dev.to/hlubek/metaprogramming-with-go-or-how-to-build-code-generators-that-parse-go-code-2k3j
### Hints
- [Functional options](https://golang.cafe/blog/golang-functional-options-pattern.html)
- [Type aliases](https://www.bytesizego.com/blog/golang-type-alias)
- [Type aliases v2](https://go.dev/blog/alias-names)
### StyleGuides
- [Effective GO](https://go.dev/doc/effective_go)
- [Google Go styleguide](https://google.github.io/styleguide/go/)
## Commands
```sh
go test -bench=.
go test -cover
```
adf
Sure David
I'm taking my laptop tomorrow to service, not sure how long it will take. Will msg you.