You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
233 B
Go

package reactor
import "fmt"
type Reactor struct {
Id int
}
func (r *Reactor) Start(id int) {
fmt.Println("Started")
r.Id = id
fmt.Println("id changed")
}
/*
func main() {
fmt.Println("running")
var
}
*/