Go-mongox: Generic Collection, chain call, efficient build bson, Plugin programming
The Go Programming Language
by /u/chenmingyong
14h ago
What is go-mongox? go-mongox is a generics-based library that extends the official MongoDB framework. Utilizing generic programming, it facilitates the binding of structs to MongoDB collections, aiming to provide type safety and streamlined data operations. go-mongox introduces chainable calls for smoother document handling and offers a rich set of bson builders and built-in functions to simplify the build of bson data. Moreover, it supports plugin-based programming and incorporates various hooks, offering flexibility for custom logic before and after database operations, thus enhancing the ap ..read more
Visit website
Bench-bintext-codecs - Benchmarks of UUID bintext codecs in Go
The Go Programming Language
by /u/Rican7
14h ago
submitted by /u/Rican7 [visit reddit] [comments ..read more
Visit website
What is centralised logging and what are good tools to use?
The Go Programming Language
by /u/FitGrape1330
14h ago
Hi! I'm new to backend development and have been learning go for the past couple of days. It has been a fantastic experience after finding out how pgx functions. I have watched a couple of YouTube videos and read some basic blogs about slog but I still can't figure out where to save those logs or how to handle them in production. Stocked to learn more! Any help is appreciated. submitted by /u/FitGrape1330 [visit reddit] [comments ..read more
Visit website
Authentication strategy & fundamental routing strategy
The Go Programming Language
by /u/RobinHe96
14h ago
Hi, I'm new to Golang and also web development. I'm thinking about how to authenticate and could have some input on that. The main problem is that every resource is telling something else on whats good & whats bad, thats for session tokens, JWT, Cookies etc. What do you think? It's just a simple side project, but eventually I need to authenticate the user from the web app but also authenticate other devices like RPi etc. to use the API. How would you structure that? And for the implementation part: I'm using HTMX + Templ with the net/http server. I inject a middleware function for some ro ..read more
Visit website
Jnarcher/sweeper: Play minesweeper in the terminal
The Go Programming Language
by /u/jn_archer
14h ago
submitted by /u/jn_archer [visit reddit] [comments ..read more
Visit website
From Ground Zero to Production: Go's Journey at Google
The Go Programming Language
by /u/Alternative-Radio3
14h ago
submitted by /u/Alternative-Radio3 [visit reddit] [comments ..read more
Visit website
GoES: Evolution strategy for black box optimization
The Go Programming Language
by /u/francescored94
14h ago
Hey everyone, I'm excited to announce the release of my first ever Golang package: GoES - Go Evolution Strategy for Black Box Optimization! GoES is a library that implements Adaptive Evolution Strategies (ES), a powerful optimization technique for problems where the objective function is non-differentiable or has noisy outputs. This makes it ideal for various machine learning and engineering tasks where traditional gradient-based methods might struggle. What's cool about GoES? Pure Go Implementation: GoES is written entirely in Go, making it lightweight and easy to integrate into your existi ..read more
Visit website
What’s New in Go 1.22: cmp.Or
The Go Programming Language
by /u/RecognitionDecent266
14h ago
https://blog.carlana.net/post/2024/golang-cmp-or-uses-and-history/ submitted by /u/RecognitionDecent266 [visit reddit] [comments ..read more
Visit website
Shared Memory from c struct
The Go Programming Language
by /u/Difficult-Elk-2599
1d ago
Hi, I am currently facing some problems with shared Memory. I have a C program that is constantly updating values in a shared memory segment. I now want to read the content of the Segment periodicly. The Problem is that the C part is saving the data with a struct like: #include <sys/shm.h> #include <errno.h> #include <stdio.h> typedef signed int INT32; typedef struct Memory { INT32 status; INT32 pkt_index; INT32 data_cnt; INT32 data[70]; }; int setShmData() { key_t ShmKEY=12345689; int ShmID; struct Memory *ShmPTR; int err=0; ShmID = shmget(ShmKEY, sizeof(struct Memory), 06 ..read more
Visit website
Emerging Technologies Shaping Software Development in 2024
The Go Programming Language
by /u/anujtomar_17
1d ago
submitted by /u/anujtomar_17 [visit reddit] [comments ..read more
Visit website

Follow The Go Programming Language on FeedSpot

Continue with Google
Continue with Apple
OR