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

https://github.com/thanhhaudev/go

📚 I'm using this repository to master the Go programming language.
https://github.com/thanhhaudev/go

awsome example golang learning learning-by-doing practice

Last synced: 10 months ago
JSON representation

📚 I'm using this repository to master the Go programming language.

Awesome Lists containing this project

README

          

# Go Practice Repository 🌱

📝 I'm using this repository to master the Go programming language. If you want to practice with me, you can clone this repository and follow the practices.

### Strings
- [Strings](practices/strings.go)

### Arrays
- [Arrays](practices/arrays.go)

### Slices
- [Slices](practices/slices.go)
- [append() function](practices/slices_append.go)
- [make() function](practices/slices_make.go)
- [How capacity works in Slices](practices/slices_append_capacity.go)
- [Slice expression](practices/slices_slice_expression.go)
- [copy() function](practices/slices_copy.go)

### Maps
- [Maps](practices/maps.go)

### Interfaces/Structs
- [Pointer and Value Receivers](practices/interface_pointer_n_value_receiver.go)

### Channels
- [Channel](practices/channel.go)
- [Directions](practices/channel_directions.go)
- [select() function](practices/channel_select.go)
- [Deadlock](practices/channel_deadlock.go)
- [Worker Pool](practices/channel_worker_pool.go)

### Contexts
- [Context](practices/context.go)
- [Context with Value](practices/context_with_value.go)
- [Context with Cancel](practices/context_with_cancel.go)
- [Context with Timeout](practices/context_with_timeout.go)
- [Context with Timeout HTTP Handler](practices/context_with_timeout_http_handler.go)
- [Context with Deadline](practices/context_with_deadline.go)
- [Context with Deadline HTTP Handler](practices/context_with_deadline_http_handler.go)

### Generics
- [Generics](practices/generics.go)
- [Generics Type Constraints](practices/generics_type_constraints.go)
- [Generics with Slice](practices/generics_with_slice.go)
- [Generics with Map](practices/generics_with_map.go)
- [Generics with Interface](practices/generics_with_interface.go)

### Panic and Recover
- [Panic and Recover](practices/panic_n_recover.go)
- [Panic and Recover Inside Goroutine](practices/panic_n_recover_goroutines.go)

### Design Patterns
- [Worker](design-patterns/worker/worker.go)

## Contributing 🤝
If you want to contribute to this repository, you can fork this repository and create a pull request. I will review your pull request as soon as possible.

I'm self-taught, so if you find any mistakes in my code, please let me know. I will be very grateful for your help.