Facing 400 Bad request. "error": couldn't create user: pq: password authentication failed for user.
The Go Programming Language
by /u/backslash2
1d ago
Working on Go, using Vscode with Thunderclient, PGAdmin4, trying to send a request to POST: http://localhost:8080/v1/users. Getting a password authentication error response. While my password is absolutely correct: { "error": "couldn't create user: pq: password authentication failed for user"" } submitted by /u/backslash2 [visit reddit] [comments ..read more
Visit website
Request for reviewing the package
The Go Programming Language
by /u/sujitbaniya
1d ago
Hi all, I'm relatively new in Golang and trying to build a package that helps me to authorize a user in a company, department. I would really appreciate for someone help me review the code. At the moment, the package doesn't have any tests. I've just added the examples. Repository: https://github.com/oarkflow/permission submitted by /u/sujitbaniya [visit reddit] [comments ..read more
Visit website
Fundamentals of I/O in Go: Part 3
The Go Programming Language
by /u/zuzuleinen
1d ago
submitted by /u/zuzuleinen [visit reddit] [comments ..read more
Visit website
How to Find Go Projects for a First Open Source Contribution?
The Go Programming Language
by /u/vsupalov
1d ago
submitted by /u/vsupalov [visit reddit] [comments ..read more
Visit website
Should I be worried about my go service
The Go Programming Language
by /u/FancyResident3650
1d ago
We have multiple services written in go, with some of them having active go routines running in background. The go routines can initiate connection with db or redis, based on the used case. While looking at the memory and cpu usage we found out multiple entires of all of our go programs. In the picture attached, each box represents a go service having multiple processes running in idle state. Should we be worried about this behaviour? submitted by /u/FancyResident3650 [visit reddit] [comments ..read more
Visit website
Used Go to automate my biotech PhD work and liked coding more than the rest of my work, could a non-CS PhD hurt my ability to get a Go developer job?
The Go Programming Language
by /u/Eternityislong
1d ago
During my PhD (USA), I started with data analysis in Python and read some software architecture books, then wanted to see how I could control my experiments with software and not just analyze them with code. My lab didn’t have any kind of automated equipment, so I figured out how to reverse engineer the serial protocols for old lab instruments, and also made some STM32 things that communicate with RS485. I needed to control the system and make it rapidly reconfigurable and scalable for my research. I considered multiple existing things and didn’t like them for one reason or another. I ultimat ..read more
Visit website
Help displaying dynamic SQL data using an html/template
The Go Programming Language
by /u/Top_Community7261
1d ago
I started working on some code to display the results of dynamic SQL queries in an html table. Everything data type, string, int, date, etc. is displaying correctly except for decimal types. The decimal values are being displayed as the ASCII values. For example, 0.00000000 displays as [48 46 48 48 48 48 48 48 48 48]. This is my template: var htmlTemplate = <table ><tr>{{range .Columns}}<th>{{.}}</th>{{end}}</tr>{{range .Rows}}<tr>{{range .}}<td>{{.}}</td>{{end}}</tr>{{end}}</table> This is my main function: func DynamicQueryToHT ..read more
Visit website
Go Method terms
The Go Programming Language
by /u/Important-Composer-2
1d ago
Hello, I'm facing hard time wrapping my head around these terms in Go. Method's receiver receiver value receiver argument receiver parameter. I know what a method receiver is, but things get hard when mixed other words. submitted by /u/Important-Composer-2 [visit reddit] [comments ..read more
Visit website
Long time coder fairly new to AI. I've started to implement AI as an assistant in my coding to accelerate my work. However, could not help noticing these AI models do not excel in Go as opposed to more common languages like the common usual suspects, Python and JS, more details below....
The Go Programming Language
by /u/nando1969
1d ago
In your experience, which model is the most adept (less inept probably better stated) at producing Go code? Thank you for sharing your insights, good coding day to all. submitted by /u/nando1969 [visit reddit] [comments ..read more
Visit website
Why is something as important as Go's implementation of Webrtc terribly documented
The Go Programming Language
by /u/Dasaboro
2d ago
I reckon a lot of work has gone into building pion webrtc, but my God why is it so badly documented? How's that going to help it get used more or make people appreciate the beauty of Go for concurrency? submitted by /u/Dasaboro [visit reddit] [comments ..read more
Visit website

Follow The Go Programming Language on FeedSpot

Continue with Google
Continue with Apple
OR