mirror of
https://github.com/kidoman/embd
synced 2024-12-22 12:50:19 +01:00
Host type is now a string
This commit is contained in:
parent
6802eb3fa0
commit
8a556df770
19
detect.go
19
detect.go
@ -10,23 +10,26 @@ import (
|
||||
)
|
||||
|
||||
// The Host type represents all the supported host types.
|
||||
type Host int
|
||||
type Host string
|
||||
|
||||
const (
|
||||
// HostNull reprents a null host.
|
||||
HostNull Host = iota
|
||||
HostNull Host = ""
|
||||
|
||||
// HostRPi represents the RaspberryPi.
|
||||
HostRPi
|
||||
HostRPi = "Raspberry Pi"
|
||||
|
||||
// HostBBB represents the BeagleBone Black.
|
||||
HostBBB
|
||||
|
||||
// HostCubieTruck represents the Cubie Truck.
|
||||
HostCubieTruck
|
||||
HostBBB = "BeagleBone Black"
|
||||
|
||||
// HostGalileo represents the Intel Galileo board.
|
||||
HostGalileo
|
||||
HostGalileo = "Intel Galileo"
|
||||
|
||||
// HostCubieTruck represents the Cubie Truck.
|
||||
HostCubieTruck = "CubieTruck"
|
||||
|
||||
// HostRadxa represents the Cubie Truck.
|
||||
HostRadxa = "Radxa"
|
||||
)
|
||||
|
||||
func execOutput(name string, arg ...string) (output string, err error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user