refactor: Start implementation of public API
This commit is contained in:
13
pkg/hardware/hardware.go
Normal file
13
pkg/hardware/hardware.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package hardware
|
||||
|
||||
type DriveConfig struct {
|
||||
Drive string
|
||||
}
|
||||
|
||||
func Eject(
|
||||
state DriveConfig,
|
||||
) error
|
||||
|
||||
func Tell(
|
||||
state DriveConfig,
|
||||
) (int, error)
|
||||
Reference in New Issue
Block a user