Press J to jump to the feed. Press question mark to learn the rest of the keyboard shortcuts
Log In
Found the internet!

The Go Programming Language

r/golang

35
pinned by moderators
Posted by26 days ago
35
7 comments
20
Posted by8 hours ago

Hello everyone!

go-playground/validator is probably the most ubiquitous validation library in Go codebases. As much as it's flexible and neat, it's sometimes a PITA to iterate — I have to setup a whole new Go project¹ to just test some tags.

Hence, I made a WASM² driven online playground for the same! You can find it here:

https://apps.abhijithota.me/go-validator-playground/

You can find the code and more details on the GitHub repo:

https://github.com/abhijit-hota/go-validator-playground

1: Still waiting for a good Go REPL

2: There is an obvious drawback of loading the 6 MB WASM binary upfront over just using a HTTP server but hey, this a half-serious experiment!

20
4 comments
64
Posted by17 hours ago
64
5 comments
6
Posted by5 hours ago
6
5 comments
8
Posted by10 hours ago
8
3 comments
36
Posted by19 hours ago

https://github.com/gkontos/go-api-racon

This project contains working examples of middleware, database connection/query, jwt token use, routers, and everything needed for a complete API in go. The project is built to run on app engine or in a docker container.

36
13 comments

About Community

Ask questions and post articles about the Go programming language and related tools, events etc.
Created Nov 11, 2009

201k

gophers

815

Online

Top 1%

Ranked by Size

Filter by flair

Related Communities

r/kubernetes

100,836 members

r/graphql

19,204 members

r/node

228,589 members

r/rust

226,881 members

r/Terraform

33,182 members

r/docker

169,619 members

r/sveltejs

22,166 members

r/typescript

102,689 members

r/Blazor

12,025 members

r/cs50

85,489 members

r/golang Rules

1.
Be friendly and welcoming.

Post is not in keeping with an inclusive and friendly technical atmosphere.

2.
Be patient.

Remember that people have varying communication styles and that not everyone is using their native language. (Meaning and tone can be lost in translation.)

3.
Be thoughtful.

Productive communication requires effort. Think about how your words will be interpreted. Remember that sometimes it is best to refrain entirely from commenting.

4.
Be respectful.

In particular, respect differences of opinion.

5.
Be charitable.

Interpret the arguments of others in good faith, do not seek to disagree. When we do disagree, try to understand why.

6.
Be constructive.

Avoid derailing: stay on topic; if you want to talk about something else, start a new conversation. Avoid unconstructive criticism: don't merely decry the current state of affairs; offer—or at least solicit—suggestions as to how things may be improved. Avoid snarking (pithy, unproductive, sniping comments) Avoid discussing potentially offensive or sensitive issues; this all too often leads to unnecessary conflict. Avoid microaggressions

7.
Be responsible.

What you say and do matters. Take responsibility for your words and actions, including their consequences, whether intended or otherwise.

8.
Follow the Go Code of Conduct

As a part of the Go community, this subreddit and those who post on it should follow the tenets laid out in the Go Code of Conduct: https://golang.org/conduct

Treat everyone with respect and kindness. Be thoughtful in how you communicate. Don’t be destructive or inflammatory.

9.
Must be Go Related

Posts must be of interest to Go developers and related to the Go language.

This includes: - Articles about the language itself - Announcements & articles about open source Go libraries or applications - Dev tools (open source or not) specifically targeted at Go developers

We ask that you not post about closed-source / paid software that is not specifically aimed at Go developers in particular (as opposed to all developers), even if it is written in Go.

10.
Do Not Post Pirated Material

Do not post links to or instructions on how to get pirated copies of copyrighted material.

11.
Job Listings Go in the Who's Hiring? Post

We have a monthly "Who's Hiring?" post that will stay pinned to the top of the subreddit. To avoid too much noise from companies, please post job openings there. Please keep in mind, this is for 1st party postings only. No 3rd party recruiters.

12.
No GPT-generated Content.

No GPT or other AI-generated content is allowed as posts, post targets, or comments. This is only for the content itself; posts about GPT or AI related to Go are fine.

Moderators

Moderator list hidden. Learn More