minimal api, right now simply serving coding tips to progress my knowledge of golang.
-
/tip— returns a single random coding tip as JSON.
each tip also includes its category for context.example response:
{ "category": "Best Practices", "tip": "Use meaningful variable names." }
tips are organized into the following categories internally:
Best PracticesDebugging & TestingPerformance & OptimizationTools & Workflow
currently, /tip returns a tip randomly from all categories combined.