Remove Version interface from 03-connection interface types #1690
Labels
03-connection
good first issue
Good for newcomers
type: code hygiene
Clean up code but without changing functionality or interfaces
Pre-requirements:
GetVersions
from Connection interface #1689Summary
Remove the
Version
interface.Problem Definition
The Version interface was added to fulfill the
GetVersions
interface. As this function will be removed, this abstraction is no longer necessary and will prevent us from doing unnecessary type casting between the interface and the concrete implementation.Proposal
*Version
instead ofexported.Version
within theversion.go
fileThere might be some unforseen issue I am overlooking. Please comment if you run into an issue. This change is primarily a code improvement and thus a nice to have
For Admin Use
The text was updated successfully, but these errors were encountered: