MCPcopy
hub / github.com/inancgumus/learngo

github.com/inancgumus/learngo @main sqlite

repository ↗ · DeepWiki ↗
1,872 symbols 4,090 edges 1,236 files 680 documented · 36%
README

Want to go beyond the basics? Get my book! ✨

Go by Example: Programmer's guide to idiomatic and testable code.

👉 https://github.com/inancgumus/gobyexample

gobyexamplecover


A Huge Number of Go Examples, Exercises, and Quizzes

The best way to learn is by doing. Inside this repository, you will find thousands of Go examples, exercises, and quizzes. I initially created this repository for my Go: Bootcamp Course. Later, I added a lot of exercises, and I wanted every programmer who is not yet enrolled in the course to learn for free as well. So here it is. Enjoy.

Available in the following languages: * English * Spanish (WIP: Please Contribute) * Chinese (WIP: Please Contribute)

❤️ Help other fellow developers

Sharing is free, but caring is priceless. So, now please click here and share this repository on Twitter.

Stay in touch

I usually tweet Go tips and tricks.

@inancgumus

Get updates from me.

Followed by 5K+ developers, and contains dozens of illustrated articles about Go.


License

Whole materials are licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Creative Commons License

Extension points exported contracts — how you extend this code

Iterator (Interface)
Iterator yields a record. [6 implementers]
logparser/v5/pipe/pipe.go
PowerDrawer (Interface)
PowerDrawer represents an electrical device that can draw power. The power source doesn't have to be a Socket. [4 implementers]
interfaces/04-interfaces/power/socket.go
Parser (Interface)
Parser is an interface for the parsers. [2 implementers]
logparser/v6/logly/parse/parser.go
Consumer (Interface)
Consumer consumes records from an iterator. [5 implementers]
logparser/v5/pipe/pipe.go
Transform (Interface)
Transform represents both a record consumer and producer. It has an input and output. It takes a single record and provi
logparser/v5/pipe/pipe.go

Core symbols most depended-on inside this repo

Println
called by 1256
x-tba/tictactoe-experiments/06-refactor/logger.go
Printf
called by 1044
x-tba/tictactoe-experiments/06-refactor/logger.go
Print
called by 121
x-tba/tictactoe-experiments/06-refactor/logger.go
Fields
called by 39
logparser/v5/pipe/recordshare.go
Err
called by 22
logparser/v6/logly/parse/parser.go
print
called by 16
interfaces/08-promoted-methods/list.go
filter
called by 10
advfuncs/06-functional-programming/main.go
Parse
called by 10
logparser/v6/logly/parse/parser.go

Shape

Function 1,462
Method 183
Struct 143
TypeAlias 61
Interface 13
FuncType 10

Languages

Go100%

Modules by API surface

26-pointers/03-pointers-composites/main.go13 symbols
logparser/functional/pipeline.go12 symbols
x-tba/tictactoe-experiments/03-with-structs/main.go11 symbols
x-tba/tictactoe-experiments/05-with-pointers/main.go10 symbols
x-tba/tictactoe-experiments/04-with-methods/main.go10 symbols
x-tba/tictactoe-experiments/02-with-funcs/main.go10 symbols
advfuncs/06-functional-programming/main.go10 symbols
x-tba/tictactoe-experiments/06-refactor/game.go9 symbols
interfaces/12-marshaler/list.go9 symbols
interfaces/11-sort/list.go9 symbols
advfuncs/03-func-to-func/main.go9 symbols
logparser/v5/pipe/record.go8 symbols

Dependencies from manifests, versioned

github.com/guineveresaenger/golang-rainbowv0.0.0-2017120119004 · 1×
github.com/inancgumus/prettyslicev0.0.0-2019030522080 · 1×
github.com/inancgumus/screenv0.0.0-2019031416391 · 1×
github.com/mattn/go-runewidthv0.0.9 · 1×
golang.org/x/cryptov0.0.0-2020112420172 · 1×

For agents

$ claude mcp add learngo \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact