CKolumbus' Blog

development rumblings: linux, python, go, C#, .Net Core, arduino and more

  • LICENSE

dependency injection

Golang Dependency Injection With karlkfi/inject

February 18, 2018

While investigating the pros and cons of manual ctor and IoC based dependency injection in go I looked at several IoC solutions:

  • karlkfi/inject
  • facebookgo/inject
  • magic003/alice

I was astonished by karlkfi/inject how I was able to switch to an IoC with NO CHANGES WHATSOVER on my ctor DI based classes.

Check out the small changes yourself below or on github

Recent Posts

  • Building Timewarrior and Taskwarrior with msys2/mingw
  • Golang Dependency Injection With karlkfi/inject
  • Blog Switch From Nikola to Hugo
  • Problematic handling of array configuration items in ASP.Net core
  • Backporting Qt App from Python3 to Python2 (SIP API Versions)

Categories

  • Blog

Social

Twitter
GitHub

Tags

api aspnetcore backporting configuration dependency-injection dotnetcore go hugo mingw nikola pyqt4 python2 python3 tools

© 2019 CKolumbus' Blog. Generated with Hugo and Mainroad theme.