hybridgroup.gobot/port.go

14 lines
161 B
Go

package gobot
type Port struct {
Name string
}
func (Port) NewPort(p string) *Port {
return new(Port)
}
func (p *Port) ToString() string {
return p.Name
}