Skip to content

dnephin/api-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

##Option1:

To add v126

copy v125/ to v126/
edit v126/ interface
edit client/ interface & switch
edit v123/, v124/ & v125/ to comply to the new interface

Pros: easy

Cons: you have to update all previous versions when you update the client interface, so we will probably support only X last versions


Option2:

To add v126

create v126/ implementation and adaptor to v125
update main.go to use v126.NewClient()

Pros: no need to touch the previous version when you add one, so we could potentially support all previous version

Cons: more work to create a new version

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages