1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-04 22:17:39 +08:00

14 lines
163 B
Go
Raw Normal View History

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