package dbwriter
import "fmt"
type MyStruct struct {
A string
B int
}
type DBWriter interface {
write(data MyStruct)
type DBWrite struct {
func (d *DBWrite) write(data MyStruct) {
fmt.Println("\n\n DB WRITER \n\n")