News for hackers. Stuff that matters.
Re:Gongular – A new web framework for Go by cyri on Monday December 05, 2016 @03:15PM (#13109000)
I've withdrawn my upvote after I saw this in the code:

  type Injector struct {
    values          map[reflect.Type]interface{}
    customProviders map[reflect.Type]CustomProvideFunction
  }
Re:Gongular – A new web framework for Go by bigblind on Monday December 05, 2016 @03:46PM (#13109368)
Comments like this could be extremely helpful to the author if you explain more clearly what you mean. Is it because they're using reflection so much? Or is it because a CustomProvideFunction could also be stored as interface{} or something completely different? I'm fairly new to Go as well, so I'm curious.
Re:Gongular – A new web framework for Go by komali2 on Monday December 05, 2016 @03:19PM (#13109049)
I don't understand, what's wrong with that? I've never used Go so I'm asking out of ignorance.
Re:Gongular – A new web framework for Go by CSDude on Monday December 05, 2016 @03:45PM (#13109351)
It is not type safe and relies on runtime reflection based checks to make it work correctly, it can crash easily. However, I believe I made all the checks correctly and it should work as intended, but of course it is only 600 LOC, there can arise some issues.