You change function income type or amount , or returns
Compile error
Maybe developers like you package and import to there project
Also cannot compile, CI failed.
You make them difficult to fixed , so nobody use you package.
Damage recycle.
Deal
A function that shoule not export, just change it .
Only can create rpc service when you want to change *.proto files, Or you can make a new folder to use you new feature. Don’t modify and delete any of them .
Function can export, and maybe import by another project , cannot change params and returns. Just open a new function to do it, and must tag a depreciated on the old functions, so developers have more time to migrate to new function .
Http handle func cannot change when there is a frontend has implement the API . Create new route map with handle func .