Hacker News new | past | comments | ask | show | jobs | submit | jadayesnaamsi's favorites login

It is the first time I see that "hook" pattern in a Go API backend: `hook.Hook` and `hook.TaggedHook`.

Where does it come from?

Why is it useful here?

What are the alternatives? Advantages/Drawbacks?

Is there an article somewhere, outside of the Pocketbase docs, presenting that pattern?

- https://github.com/pocketbase/pocketbase/blob/master/core/ap...

- https://github.com/pocketbase/pocketbase/tree/master/tools/h...


We should have a payment system that isn't held hostage by two providers anyway.

At least here in Europe MasterCard and visa are the only options. Amex and Discovery are really unusable here.

Besides selling our data this also means we get American morals pushed on us, eg they won't provide payments for some websites they don't like.

But how do you break up such a duopoly?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: