Is there a way to tackle this kind of error `module@ latest found( replaced by ),but does not contain package /routes` while importing modules in Go?

I tried to create a module named REST-API/routes in the routes folder, then imported it on main.go I found unexpected error. my code looks like this as follow;

package main

import (
    "github.com/gin-gonic/gin"

    "REST-API/routes"
)

func main() {
    router := gin.Default()

    // Initialize the routes
    routes.initializeRoutes()

    // Start serving the application
    router.Run()
}

Edit: contents of the rest-api/routes go.mod file is given below as;

module REST-API/routes
go 1.16

require (
    REST-API/handlers v0.0.0-00010101000000-000000000000
    github.com/gin-gonic/gin v1.7.4
)

replace REST-API/handlers => ../handlers

FYI, reference to my REST-API file

Error: REST-API imports REST-API/routes: module REST-API/routes@latest found (v0.0.0-00010101000000-000000000000, replaced by ../routes), but does not contain package REST-API/routes

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum