go-cert-gen/pkg/io/writer.go

8 lines
186 B
Go
Raw Normal View History

package io
type WriterIface interface {
2023-03-05 00:05:00 +01:00
// WriteFile writes file into `w writer` directory.
// Returns outputPath and error
WriteFile(filename string, data []byte) (string, error)
}