HTTP handler interfacing with PHP directly

Original post Hello, I’m trying to create an HTTP handler which interfaces directly with PHP. I’m proud to say I’ve managed to create something almost functional, though I doubt this will ever be used in...

Read More

My first serious Go project: satisfies.it

Original post satisfies.it is my first major Go project and the first website I actually managed to make available without quitting before it was done. It lets you either search for interfaces or concrete types and depending on...

Read More

Type question

Original post Should a database driver return a value in a row as an int32 or an int64, would there be a possible issue with storing it in an int? Similarly, would there be a possible issue with storing sql.RawBytes into a...

Read More

Organizing go test and go coverage by package namr

Original post Right now I have go test run through the go-junit-report tool. It reports by directory name. Running gocov does the same thing. How can I get the results reported by package name? Something like: Package name with...

Read More

Replacing Lines In a File

Original post Hi guys. I’m have quite a few files that I need to update since the package I’m using was updated and breaks backwards compatibility (this was on purpose) so I’m stuck with updating numerous files...

Read More

Initialize MongoDB array field in Go

Original post I have this data schema: “person”: { “name”: “John”, “pets”: [ { “name”: “Birdie” } ] } This is the struct to insert the Person document to...

Read More

Docker deployment with Golang.

Original post Ok this may be a stupid question so I appreciate you bearing with me. I can find resources left and right on learning how do deploy go in a docker container. I however am looking to automate the deployment of a...

Read More

Come join our Discord server!

Original post Hi, I made a server and we are up to 220 people already within 5 days! We are looking for some GOlang devs to share their knowledge with us and learn from us as well we are called the “The Web Dev...

Read More