qustavo / dotsql

A Golang library for using SQL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't access LoadFromString

mrz1836 opened this issue · comments

commented

I'm getting this error when trying to use the public method LoadFromString

import (
"github.com/gchaincl/dotsql"
)

_, err = dotsql.LoadFromString("--name: query-a")
if err != nil {
return
}

dotsql.LoadFromString undefined (type *dotsql.DotSql has no field or method LoadFromString)

commented

Sorry - rookie mistake :-(