Best of Awesome GoJanuary 2025

  1. 1
    Article
    Avatar of awegoAwesome Go·1y

    Making Beautiful API Keys

    To improve the aesthetic and usability of API keys, a startup created 'uuidkey', a package that encodes UUIDs into a readable format using Crockford Base32. This solution aims to provide secure, globally unique, sortable, and human-friendly API keys by leveraging the benefits of UUIDv7 and adding options such as removing dashes and adding prefixes for better management and security. The package is open source and available for programmers to implement in their own systems.

  2. 2
    Article
    Avatar of awegoAwesome Go·1y

    Learn Golang in 2025, You Won't Regret It

    LiveAPI, an auto-API doc generation tool, is being built using Golang. Initially designed at Google in 2009, Go offers unique features like lightweight concurrency with goroutines, built-in communication using channels, simple cleanup with defer, implicit interface implementation, and native error handling with multiple return values. These features, among others, make Golang a strong choice for developers, especially those transitioning from languages like Python and Node.js.

  3. 3
    Article
    Avatar of awegoAwesome Go·1y

    Scaling LLMs with Golang: How we serve millions of LLM requests

    Using Golang for production deployments of LLMs has proven efficient for handling millions of requests. Key benefits include its type safety, concurrency with goroutines, and composable interfaces. Despite Python's dominance in ML development, combining it with Golang allows leveraging both languages' strengths for a robust and scalable system.

  4. 4
    Video
    Avatar of awegoAwesome Go·1y

    Make an MMO with Godot 4 + Golang: Database setup for persistent game world

    Learn how to set up a SQLite database for a Godot 4 MMO using Golang. This guide covers establishing a connection, handling user registration and login, and writing SQL queries without using an ORM. Follow along to implement a secure and persistent game world. By the end of this tutorial, you'll have a functioning login system and the groundwork for more complex game logic.

  5. 5
    Article
    Avatar of awegoAwesome Go·1y

    How to Make Go Structs More Efficient

    Go structs with identical fields can differ in memory usage due to data alignment and field ordering. By reordering fields, significant memory savings can be achieved. This technique is called structure packing. The Go tool 'fieldalignment' can automatically optimize struct field order to ensure efficient memory usage.