blob: 685e42e20e1530acd7654c55834629f504169b3b [file] [log] [blame]
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package monorail
// FindCC finds a CC'ed person by name.
func (i *Issue) FindCC(name string) *AtomPerson {
for _, cc := range i.Cc {
if cc.Name == name {
return cc
}
}
return nil
}