skip to Main Content

Visual Studio Code – Vs code shows import error in golang code

I have go code which looks like this package services import ( "net/http" "strings" "github.com/gin-gonic/gin" "github.com/irohitb/EmpAdmin/backend/config" "github.com/irohitb/EmpAdmin/backend/middleware" "github.com/supabase/postgrest-go" ) func GetAllUsers(env *config.Env, db *postgrest.Client, group *gin.RouterGroup) { group.GET("/:services", func (router *gin.Context) { services := strings.Split(router.Param("service"), ",") user, exists := router.Get("user")…

VIEW QUESTION
Back To Top
Search