victorsteven/Go-JWT-Postgres-Mysql-Restful-API

Module package error

Closed this issue · 4 comments

Hello Victor nice work with your code. When I try to pull down the package in main.go I get this error

Repository not found.
fatal: repository 'https://github.com/victorsteven/fullstack/' not found
package github.com/victorsteven/fullstack/api: exit status 128

Hi Rodney,

This is because the name used on the go modules does not match the repository name on Github. Rather pull:
https://github.com/victorsteven/Go-JWT-Postgres-Mysql-Restful-API

Hello Question in your main.go you have thispackage main

import (
"github.com/victorsteven/fullstack/api"
)

func main() {

api.Run()

}

But this import isn't correct. I want to understand if that import needs to be changed to https://github.com/victorsteven/Go-JWT-Postgres-Mysql-Restful-API

Resolved issue