An open API service indexing awesome lists of open source software.

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

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.