Articles written outside this blog

This is page contains articles I initially wrote a while back on other platforms. I decided to settle in one place and mostly write from here moving forward

  1. Laravel Eloquent: API Resources
  2. Create Apps visually with the Vue CLI UI tool
  3. Moving from NodeJS to Go
  4. Build CLI Apps with NodeJS
  5. Debugging Go Code with Visual Studio Code
  6. Docker and Visual Studio Code
  7. My Top 8 Visual Studio Code Tips and Tricks
  8. Create a Typing Effect with VueJS: Part 2 - Timer and Score Board
  9. Creating a Typing Effect with VueJS: Part 1
  10. Passport-JWT authentication for Hyperledger Composer Rest Server
  11. Write API Tests with Postman and Newman
  12. How to host a NodeJS App on Digital Ocean
  13. Create a MEAN App with Angular 2 and Docker Compose
  14. MEAN App with Angular 2 and the Angular CLI
  15. Debug a node app inside Visual Studio Code
  16. Documenting your already existing API with Swagger
  17. Debugging Angular Apps with Augury
  18. Build a mobile app with Angular 2 and Ionic 2
  19. Get Laravel Route Parameters in middleware
  20. Debugging Javascript With Chrome Dev Tools

Generating Go Code with Go Generate

Introduction Let’s get straight to it. You have a json schema/structure and you want to generate the struct for it. There are tools for this, such as JSON to Go, but here’s a simple implementation, as part of the introduction We’ll create 4 files. post.json - to hold the json schema of the code we are trying to generate post.tpl - to hold the template with which the code will be generated from gen. [Read More]
golang  go