Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
When services call each other synchronously, they are tightly coupled.
-
Vertical scaling - adding more CPU, RAM, or faster disks to one machine - has hard limits.
-
Database replication is the process of keeping copies of the same data on multiple nodes.
-
The CAP theorem is the first concept most interviewers reach for when probing your knowledge of distributed systems.
-
Caching trades memory and freshness for speed and reduced load.
-
Code review is about to become your team’s biggest bottleneck.
-
In Building an MCP Server in Go we built a small Model Context Protocol server that exposed a tool to an AI assistant.
-
Google’s Agent Development Kit (ADK) just got a Go version, and in this tutorial we’re going to use it to build your first AI agent from scratch.
-
In this tutorial, we’re going to build a Model Context Protocol (MCP) server in Go from scratch.
-
Sometimes you don’t know how many arguments you’ll get — a party might have one hero or six.
-
Adventurers need somewhere to keep their gold, health, and gear.
-
The := operator is handy, but sometimes you want to be explicit about a variable’s type.
-
When you have one value and many possible branches, a chain of else if gets noisy.
-
So far our heroes have been scattered across separate variables.
-
When you’re juggling several channels, select waits on all of them at once and runs whichever is ready first: select { case msg := <-orders: fmt.Println("order:", msg) case <-quit: fmt.Println("standing down") } The sync package covers the cases where…
-
The war party charges, each member striking at once.
-
A barrage of blows is incoming, adventurer.
-
A locked chest sits before you.
-
You’ve returned from the dungeon with a pile of loot.
-
Time to descend into the dungeon, adventurer.
-
Time to put your training to the test, adventurer.
-
The moment of combat is here.
-
A pointer holds the memory address of a value rather than a copy of it.
-
A method is a function attached to a type via a receiver in front of its name: func (m Monster) Describe() string { return m.Name + " lurks nearby" } goblin.Describe() The receiver can be a value (m Monster) or a pointer (m *Monster).
-
Sometimes a list isn’t enough — you want to look things up by name.
-
An interface describes what a type can do, not what it is — a contract of method signatures: type Attacker interface { Attack() int } Any type that has those methods satisfies the interface implicitly — there’s no implements keyword.
-
Every adventurer must make decisions.
-
Every great adventure begins with a single step.
-
A goroutine is a lightweight thread of execution.
-
Functions are how you package up a spell to cast again and again.
-
Go keeps things simple: it has exactly one loop keyword, for, which covers every looping need.
-
Go doesn’t use exceptions.
-
defer schedules a call to run when the surrounding function returns — perfect for cleanup you don’t want to forget (closing a file, releasing a lock, snuffing a torch). func readScroll() { defer fmt.Println("scroll rolled back up") fmt.Println("reading…
-
Some values should never change mid-quest — the size of your backpack, the name of your guild.
-
Goroutines need a safe way to talk to each other.
-
This is it, adventurer — the final battle, and the end of your journey through Go.
-
Adventurers need to carry their spoils.
-
In this tutorial we are going to take a thorough look at log/slog — the structured logging package that landed in the standard library in Go 1.21.
-
In this tutorial, we are going to look at closures in Go.
-
In this tutorial we are going to look at how you can use Makefiles to automate the most common tasks in a Go project — building, running, and cross-compiling your application — all from a single make command.
-
Static images are a start, but real graphics need to move.
-
A triangle is a great proof-of-concept, but most real graphics involve images.
-
So far our triangle is static.
-
The triangle is the “hello world” of graphics programming.
-
In Part 1 we opened a window.
-
Welcome to the first part of this series on graphics programming with wgpu in Rust!
-
Note: If you are working with structured data, you may also like Go JSON Tutorial.
-
Source Code: The full source code for this tutorial is on GitHub: TutorialEdge/Go-Interfaces-Tutorial By the end of this tutorial, you’ll understand: What interfaces are and why Go uses them How to define your own interfaces How Go satisfies interfaces im…
-
In this tutorial, we’re going to walk through how to use Anthropic’s Claude API in Go using the official SDK — no Python, no boilerplate frameworks.
-
Go is a highly performant language built for concurrency.