hybridgroup.gobot/port.go

14 lines
163 B
Go
Raw Normal View History

2013-10-23 07:45:31 +08:00
package gobot
2013-10-24 13:00:03 +08:00
type Port struct {
Name string
}
func (Port) NewPort(p string) *Port{
return new(Port)
}
func (p *Port) ToString() string {
return p.Name
}