refactor: Start implementation of public API

This commit is contained in:
Felicitas Pojtinger
2021-12-06 21:01:41 +01:00
parent bbfde631a9
commit 4f5d298c8e
45 changed files with 211 additions and 54 deletions

13
pkg/hardware/hardware.go Normal file
View File

@@ -0,0 +1,13 @@
package hardware
type DriveConfig struct {
Drive string
}
func Eject(
state DriveConfig,
) error
func Tell(
state DriveConfig,
) (int, error)