Feature: show Alpine version at start

This commit is contained in:
Quentin McGaw
2021-05-19 14:30:43 +00:00
parent a9589d8d5b
commit 4f521e4dcb
3 changed files with 31 additions and 0 deletions

View File

@@ -2,12 +2,15 @@
package alpine
import (
"context"
"github.com/qdm12/golibs/os"
"github.com/qdm12/golibs/os/user"
)
type Configurator interface {
CreateUser(username string, uid int) (createdUsername string, err error)
Version(ctx context.Context) (version string, err error)
}
type configurator struct {