mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-01-24 13:38:26 -06:00
Update ParseVersion function in PGDump client
This commit is contained in:
@@ -47,7 +47,7 @@ func New() *Client {
|
||||
|
||||
// ParseVersion returns the PGVersion enum member for the given PostgreSQL
|
||||
// version as a string.
|
||||
func ParseVersion(version string) (PGVersion, error) {
|
||||
func (Client) ParseVersion(version string) (PGVersion, error) {
|
||||
switch version {
|
||||
case "13":
|
||||
return PG13, nil
|
||||
|
||||
Reference in New Issue
Block a user