design

type Config struct {

  Item

  lock

}

func (*Config) getItem(){

}

func (*Config) SetItem(){

}

channel :

  - timer

  - input

  - control

原文地址:https://www.cnblogs.com/eiya/p/10177157.html