How to import local package in Golang

Question:
How do I import local package in Golang?

Repl link:

`main.go`
package main

import (
  "fmt"
  "./locallib/framework"
)

func main() {
  fmt.Println("Hello from main.go!")
  framework.FrameworkHello()
}
`framework.go` in "locallib" folder
package framework

func HelloWorld() string {
    return "Hello World from framework.go!"
}

The code got syntax error in import line “./locallib/framework”:

could not import ./locallib/framework (no required module provides package "./locallib/framework")