Spyke

Posts

golang·Golangbygredo

MongoDB style filter and validation

Hi,

is there a way to use MongoDB query syntax or something similar to filter arrays/slices or validate data in Go?

In (node)JS there's Sift.js or (less MongoDB style) Underscore/lodash.

Possible use cases:

  • Easily readable validation syntax (at least for people knowing MongoDB)
  • mocking a MongoDB for dev purposes
  • filtering arrays/slices more easily

I'm relatively new to Go so maybe there already is a best practice to do stuff like that, I don't know of.

View original on lemmy.world
fediverse·Fediversebygredo

Other use cases for the fediverse

I never got into mastodon because I couldn't connect multiple instances. I like this a lot about Lemmy so far (just here for a few minutes though).

Reading about the fediverse got me thinking. What other use cases could you think of? Maybe outside social media?

Would a fediverse password manager be more or less secure than some company owned pm?

How about "clones" of other social media like FB and Insta, TikTok?

What about a blogging community like Medium?

Other ideas?

View original on lemmy.world

You reached the end