Enter to send·Shift+Enter new line
Write writes data to a cache file, creating parent directories as needed.
func Write(path string, data []byte) error
path
string
data
[]byte