Skip to content

v0.2.3 - Stlib params

Choose a tag to compare

@peferb peferb released this 18 Mar 22:02

All params is now golang standard types

The data format and api type is now plain strings instead of lib specific types.

I read Jack Lindamoods article Aspects of a good Go library which convinced me that standard params is more user friendliness than lib based type safety.

In this small particular case I really believe "user friendliness" > "type safety". Theres really no big win for that type safety here, its not much more than noise and might get in the way.

And also... NewApi returns Api and not whatever weird thing I returned before 😅

Oh, almost forgot! I think I shaved of a couple of bytes of the lib as well!