[Add] VersionCheck #215

Merged
lafriks merged 12 commits from 6543/go-sdk:version-check into master 2020-01-27 06:20:55 +00:00
Showing only changes of commit bd1193329e - Show all commits

View File

@ -21,7 +21,7 @@ var jsonHeader = http.Header{"content-type": []string{"application/json"}}
// Version return the library version
func Version() string {
return "0.11.0"
return "0.12.3"

I don't think we can really reduce the version of the library - I see what you're trying to do though - maybe we should just make it 1.11.0?

I don't think we can really reduce the version of the library - I see what you're trying to do though - maybe we should just make it 1.11.0?
Outdated
Review

I dont like to go out of 0.x jet :https://medium.com/@aman.sardana/go-modules-versioning-dependency-management-d5f96b490774

"...version 0 is an exception for backward compatibility rule of golang as the version updated before version 1 can be backward incompatible. It is best for the libraries that are just starting. ..."

at this point we still can remove stuff ...
if we are sure that we stay in this structure we can go on to 1.x

I dont like to go out of 0.x jet :https://medium.com/@aman.sardana/go-modules-versioning-dependency-management-d5f96b490774 "...version 0 is an exception for backward compatibility rule of golang as the version updated before version 1 can be backward incompatible. It is best for the libraries that are just starting. ..." at this point we still can remove stuff ... if we are sure that we stay in this structure we can go on to 1.x
}
// Client represents a Gitea API client.