Delete MustLoadFromString, as nobody needs it.

Change-Id: Ib95c316857ffdd36d973c0e8701967de99d78b13
This commit is contained in:
Bjoern Rabenstein 2014-11-27 19:32:42 +01:00
parent bfd70e3280
commit 115bde9c47
1 changed files with 0 additions and 7 deletions

View File

@ -49,13 +49,6 @@ func (f *Fingerprint) LoadFromString(s string) error {
return nil return nil
} }
// MustLoadFromString works like LoadFromString but panics in case of an error.
func (f *Fingerprint) MustLoadFromString(s string) {
if err := f.LoadFromString(s); err != nil {
panic(err)
}
}
// LoadFromMetric decomposes a Metric into this Fingerprint // LoadFromMetric decomposes a Metric into this Fingerprint
func (f *Fingerprint) LoadFromMetric(m Metric) { func (f *Fingerprint) LoadFromMetric(m Metric) {
labelLength := len(m) labelLength := len(m)