Second provider

This commit is contained in:
Archie Fox
2025-03-11 23:35:47 +03:00
parent 699be23766
commit 46170ac5da

19
go-demo-4/cloud/cloud.go Normal file
View File

@@ -0,0 +1,19 @@
package cloud
type CloudDb struct {
url string
}
func NewCloudDb(url string) *CloudDb {
return &CloudDb{
url: url,
}
}
func (db *CloudDb) Read() ([]byte, error) {
return []byte{}, nil
}
func (db *CloudDb) Write(content []byte) {
}