mirror of
https://github.com/xataio/pgroll.git
synced 2024-09-11 13:55:28 +03:00
Change the module name to match its import path. In order for `pg-roll` to be usable as a module we need the be able to import `"github.com/xataio/pg-roll/pkg/roll"` etc from other modules. Changing the name of the module to match its import path ensures that this is possible.
14 lines
137 B
Go
14 lines
137 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/xataio/pg-roll/cmd"
|
|
)
|
|
|
|
func main() {
|
|
if err := cmd.Execute(); err != nil {
|
|
os.Exit(1)
|
|
}
|
|
}
|