file_put_contents

file_put_contents

[code=golang]
func FileGetContents(filename string) (string, error) {
	data, err := ioutil.ReadFile(filename)
	return string(data), err
}
[/code]