There is a basic package:
package main import "testXML/dd" func main() { dd.SSS() } It connects to the package.
ddfunc SSS() { bs, err := ioutil.ReadFile("dd/ff.conf") if err != nil { fmt.Println("--->", err) } str := string(bs) fmt.Println("::::::::::::::", str) } But is it possible to make the file read without a folder prefix, i.e. just "ff.conf"?