Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/wisdomfusion/go-code-snippets-and-examples

Go code snippets and examples.
https://github.com/wisdomfusion/go-code-snippets-and-examples

example-code golang

Last synced: about 9 hours ago
JSON representation

Go code snippets and examples.

Awesome Lists containing this project

README

        

# go-code-snippets-and-examples

Go code snippets and examples, listed as follows:

## basics

- [Hello world](./basics/helloworld/)
- [Literal values](./basics/literal_values/)
- [Variables](./basics/variables/)
- [Constant](./basics/constant/)
- [For loop](./basics/for_loop/)
- [if/else](./basics/if_else/)
- [Switch](./basics/switch/)
- [Arrays](./basics/arrays/)
- [Slices](./basics/slices/)
- [Maps](./basics/maps/)
- [Range iteration](./basics/range/)
- [Functions](./basics/func/)
- [func with multiple return values](./basics/func_with_multiple_return_values/)
- [func with any args](./basics/func_with_any_args/)
- [Closures](./basics/closures/)
- [Slice operations](./basics/slice_ops/)
- [Strings](./basics/strings/)
- [Pointers](./basics/ptr/)
- [Structs](./basics/structs/)
- [Interfaces Part 1](./basics/interfaces/)
- [Interfaces Part 2](./basics/interfaces2/)
- [Methods](./basics/methods/)
- [Recursion](./bascis/recursion/)
- [Errors](./basics/errors/)
- [Recover from errors](./basics/recover/)
- [Goroutine](./basics/goroutine/)
- [Channel](./basics/channel/)
- [Mutex](./basics/mutex/)
- [Http](./basics/http/)
- [Regex](./basics/regex/)

## practices

- [Fibonacci](./practices/fibonacci/)
- [File listing server](./practices/file_listing_server/)
- [Maze](./practices/maze/)