Can't access LoadFromString
mrz1836 opened this issue · comments
Mr. Z 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)
Mr. Z commented
Sorry - rookie mistake :-(