Answer the question
In order to leave comments, you need to log in
How to make an OOP router in Go lang?
Good evening, I have a question about Go Lang.
But here's the problem: the native, built-in router is painfully unfamiliar to me.
I used to do something like this: www.example.com/class/method/param1/param2
And in Go I have to write everything through functions. Is there any solution here? Thanks in advance!
Answer the question
In order to leave comments, you need to log in
This has already happened: how to start OOP in a procedural language.
You write a preprocessor, and - voila - there was C - it became C ++.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question