The other day, I read on HN that Google took the decision to lay off (or restructure/demote, you name it) its entire internal Python team. This got me to speculate what would happen, if the comp...
https://www.reddit.com/r/golang/comments/1cft7mc/if_google_decided_to_part_with_the_core_go_team/
`` type OrganizationalUnit struct { gorm.Model ID uuid.UUIDgorm:"primaryKey;type:uuid;default:uuid_generate_v4()" ParentOrganizationalUnitID *uuid.UUIDgorm:"type:uuid" ParentOrganizationalUnit *O...
https://www.reddit.com/r/golang/comments/1cfsg6a/gorm_backwards_foreign_key_constraint/
In an interview I was asked how one can make a JavaScript app faster. I said “by switching to golang”. I laughed, they didn’t. Totally worth it though. submitted by /u/aSliceOfHam2
https://www.reddit.com/r/golang/comments/1cfrka3/switching_to_golang/
After 3 years from https://redd.it/l7pml8 phuslog has below noticeable improvements Imporve runtime.Caller speed Fully support to stdlib slog Lots of bug fixes and performance tweaks Here's on...
https://www.reddit.com/r/golang/comments/1cfpibc/phuslog_fastest_structured_logging/
I have been learning Golang for a while now and I have also built a few projects. The problem is that I want to containerise my current project that I am working on. It is a simple golang chat al...
https://www.reddit.com/r/golang/comments/1cfp8x9/dockerwith_golang_salite_project/
TLDR: Is it possible or a good idea to have a service which has multiple APIs, some of which are handled by gin and some using grpc? I'm brand new to grpc and rpc in general so apologies if thi...
https://www.reddit.com/r/golang/comments/1cflfzz/gin_with_grpc/
Hey guys! I really quickly made a simple cli app that "packs" your env files into an encrypted vault and replaces it with a placeholder .env-dist. You can unpack whenever you like to reveal the f...
https://www.reddit.com/r/golang/comments/1cfihw8/envy_a_cli_tool_to_manage_env_files/
The worst thing for me with Golang is when I'm asked to start a new Golang project, and it's always in my mind what's the best way to structure my project? I'm most inspired by Java (Spring Boot)...
https://www.reddit.com/r/golang/comments/1cfi98z/is_it_appropriate_to_apply_a_clean_architecture/
I have a simple "Hello world" program I'm building with go v1.22.1 built on windows/amd64. I'm trying to run it on Windows 7 x64 but I get the following error. Even putting the bcryptprimitives.d...
https://www.reddit.com/r/golang/comments/1cfhp4n/attempting_to_test_software_on_w7_vm_gives/
Are there any well supported / documented bindings for Golang for any machine learning frameworks? Only one I'm really seeing is Tensorflow, many of the PyTorch / ONNX Runtime bindings have been ...
https://www.reddit.com/r/golang/comments/1cfhlw8/most_stable_machine_learning_bindings_project_for/
I would like to have status codes from my Kubernetes CRD reconcile calls, similar to http status codes. My reconcile calls usually have one of these return states: All fine nothing changed ...
https://www.reddit.com/r/golang/comments/1cfh69b/kubernetes_crd_reconcile/
submitted by /u/CodeByExample
https://www.reddit.com/r/golang/comments/1cfgqgd/a_simple_web_crawler_d/
question: i've tried to think about another way to to separate the two functions (the handleFunc,and the PostToDb) but i couldn't . is there a way to seperate them? func PostTodb...
https://www.reddit.com/r/golang/comments/1cffwyn/separate_two_functions/
TLDR: Need to do auth for self hosted Active Directory in our go api, want to do as much on the backend. Considering: Keycloak , oauth2-proxy and rolling our own with the oauth2 package and m...
https://www.reddit.com/r/golang/comments/1cffeuk/auth_with_self_hosted_active_directory_in_go/
Was curious if this would be a good use of go. I am trying to dynamically run/stop python scripts given some state in go. Edited for simplicity. submitted by /u/learnthingys
https://www.reddit.com/r/golang/comments/1cfele9/use_go_as_an_orchestrator_for_python_child/
The past weekend I was a little bored so I decided to make a quick "mps-youtube" clone using bubbletea to listen some music inside my terminal. Here is the result . Ugly, simple, kindy usefull....
https://www.reddit.com/r/golang/comments/1cfdec8/simple_youtube_audio_player/
This weekend, I decided to play around with GO. Since I keep reinventing the wheel and copying basic utilities from project to project, I decided to create Goliath! Goliath is an opinionated se...
https://www.reddit.com/r/golang/comments/1cf95ir/weekend_project_goliath/
Godocument is an htmx-based Docusaurus clone. It is a static site generator intended to make it as simple as possible to get a documentation website up and running ASAP. It is built on Htmx...
https://www.reddit.com/r/golang/comments/1cf8xqg/godocument_an_htmxbased_static_site_generator_for/
Events in the trace viewer show proc start and proc stop. I’m assuming that means the os took the cpu for another application. I also see asyncPreempt, but then no go routines are running and...
https://www.reddit.com/r/golang/comments/1cf5gv1/proc_startstop_asyncpreempt/
I began this project a few years back, during my initial foray into Go development. Over time, as I've gained more experience and learned new techniques, I've revisited and refined it. Your feed...
https://www.reddit.com/r/golang/comments/1cf5b1q/gorestapiexample_an_example_rest_api_microservice/
submitted by /u/shogi_pro
https://www.reddit.com/r/golang/comments/1cf58bx/if_anyone_was_looking_for_a_signals/
A new release introduces improvements and bug fixes. https://github.com/GreenmaskIO/greenmask This release introduces improvements and bug fixes CHANGES Added support for generated colu...
https://www.reddit.com/r/golang/comments/1cf3dcb/greenmask_release_v0111_database_anonymization/
I just finished writing my first article on HackerNoon about how to use maps in Go. It’s called “Mastering Maps in Go: Everything You Need to Know”. I tried to cover everything from the...
https://www.reddit.com/r/golang/comments/1cezb9a/mastering_maps_in_go_everything_you_need_to_know/
A question for the Golang community. What is your search and evaluation process to find packages to use in your project? I'm teaching myself Golang by producing a web app that has a bias towards ...
https://www.reddit.com/r/golang/comments/1cetywz/what_is_your_process_to_findevaluate_new_packages/
I just realized that I code servers in Go, cache data in bbolt (a database written in Go), and use Grafana, Loki, and Promtail for log management, all of which are written in Go. I deploy using D...
https://www.reddit.com/r/golang/comments/1ceis33/all_my_backend_tech_stack_is_in_go/
This post will be stickied at the top of r/golang until the last week of March (more or less). Please adhere to the following rules when posting: RULES FOR INDIVIDUALS: Don't create top-leve...
https://www.reddit.com/r/golang/comments/1b6ro4b/whos_hiring_march_2024/
If you're new at Go and looking for projects, looking at how to learn, looking to start getting into web development, or looking for advice on switching when you're starting from a specific langu...
https://www.reddit.com/r/golang/comments/18ujt6g/new_at_go_start_here/