[Add] VersionCheck #215
|
@ -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"
|
||||
|
||||
}
|
||||
|
||||
// Client represents a Gitea API client.
|
||||
|
|
Loading…
Reference in New Issue
Block a user
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 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