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

8 lines
186 B
Go

package io
type WriterIface interface {
// WriteFile writes file into `w writer` directory.
// Returns outputPath and error
WriteFile(filename string, data []byte) (string, error)
}