Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 package monorail | |
| 6 | |
| 7 // FindCC finds a CC'ed person by name. | |
| 8 func (i *Issue) FindCC(name string) *AtomPerson { | |
| 9 for _, cc := range i.Cc { | |
| 10 if cc.Name == name { | |
| 11 return cc | |
| 12 } | |
| 13 } | |
| 14 return nil | |
| 15 } | |
| OLD | NEW |