loudspeaker.go 202 B

1234567891011121314151617181920
  1. package lc
  2. import (
  3. "fmt"
  4. )
  5. type Loudspeaker interface {
  6. Speak()
  7. }
  8. type IpCast struct {
  9. }
  10. func (ip IpCast) Speak() {
  11. fmt.Println("语音")
  12. }
  13. //func (ip IpCast) CorrectTime(t time.Time) {
  14. //
  15. //}