(id string)
| 484 | } |
| 485 | |
| 486 | func (b *Board) FindNote(id string) *Note { |
| 487 | for _, n := range b.Notes { |
| 488 | if n.ID == id { |
| 489 | return n |
| 490 | } |
| 491 | } |
| 492 | return nil |
| 493 | } |
| 494 | |
| 495 | func (b *Board) Connect(fromID, toID string) *StringConn { |
| 496 | if fromID == toID || fromID == "" || toID == "" { |
no outgoing calls
no test coverage detected