Refactoring
This commit is contained in:
15
pkg/cloudapi/image/image.go
Normal file
15
pkg/cloudapi/image/image.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package image
|
||||
|
||||
import (
|
||||
"github.com/rudecs/decort-sdk/interfaces"
|
||||
)
|
||||
|
||||
type Image struct {
|
||||
client interfaces.Caller
|
||||
}
|
||||
|
||||
func New(client interfaces.Caller) *Image {
|
||||
return &Image{
|
||||
client,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user