Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/wisdomfusion/go-code-snippets-and-examples
- Owner: wisdomfusion
- Created: 2021-04-01T06:01:36.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-20T02:54:38.000Z (over 3 years ago)
- Last Synced: 2024-06-21T20:05:30.967Z (5 months ago)
- Topics: example-code, golang
- Language: Go
- Homepage:
- Size: 30.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/)