// Get returns the string representation of the value associated with the
// given read group line tag. If the tag is not present the empty string is returned.
553154
func (r *ReadGroup) Get(t Tag) string {
	switch t {
	case idTag:
		return r.Name()
	case centerTag:
		return r.center
	case descriptionTag:
		return r.description
	case dateTag:
		return r.date.Format(iso8601TimeDateN)
	case flowOrderTag:
		if r.flowOrder == "" {
			return "*"
		}
		return r.flowOrder
	case keySequenceTag:
		return r.keySeq
	case libraryTag:
		return r.library
	case programTag:
		return r.program
	case insertSizeTag:
		return fmt.Sprint(r.insertSize)
	case platformTag:
		return r.platform
	case platformUnitTag:
		return r.platformUnit
	case sampleTag:
		return r.sample
	}
	for _, tp := range r.otherTags {
		if t == tp.tag {
			return tp.value
		}
	}
	return ""
}
136296
func (v *StructA) GetS() (o string) {
	if v != nil {
		o = v.S
	}
	return
}
1256259
func (vm *ViewLists) Get(tag string) Views {
	ind, ok := vm.index(tag)

	if !ok {
		return nil
	}

	var v Views

	vm.ro.RLock()
	v = vm.lists[ind]
	vm.ro.RUnlock()

	return v

}
161387
func (json *JSON) Get(name string) interface{} {
	return json.Result.Get(name).Value()
}
1060643
func (r *Rows) Get(i, j int) string {
	if i == 0 {
		if j >= len(r.Columns) {
			return ""
		}
		return r.Columns[j]
	}

	if r.Values == nil {
		return "NULL"
	}

	if i-1 >= len(r.Values) {
		return "NULL"
	}
	if j >= len(r.Values[i-1]) {
		return "NULL"
	}
	return fmt.Sprintf("%v", r.Values[i-1][j])
}
110799
func (node *Node) Get(key string) string {
	return node.Values.Get(key)
}
1043821
func (section *HeaderSection) Get(key string) core.TagSlice {
	if keyTags, ok := section.Values[key]; ok {
		return keyTags
	}
	return core.TagSlice{}
}
121357
func (i *InternalTokenHelper) Get() (string, error) {
	i.populateTokenPath()
	f, err := os.Open(i.tokenPath)
	if os.IsNotExist(err) {
		return "", nil
	}
	if err != nil {
		return "", err
	}
	defer f.Close()

	buf := bytes.NewBuffer(nil)
	if _, err := io.Copy(buf, f); err != nil {
		return "", err
	}

	return strings.TrimSpace(buf.String()), nil
}
274383
func (a Args) Get(n int) string {
	if len(a) > n {
		return a[n]
	}
	return ""
}
433438
func (g *Group) Get(path string, handler context.Handler) {
	g.Handle(http.MethodGet, path, handler)
}
670149
func (v *StringMap) Get(name string) string {
	v.mu.Lock()
	s := v.values[name]
	v.mu.Unlock()
	return s
}
1280977
func (b Byte) Get() (byte, error) {
	if !b.Present() {
		var zero byte
		return zero, errors.New("value not present")
	}
	return *b.value, nil
}
605186
func (md MD) Get(k string) []string {
	k = strings.ToLower(k)
	return md[k]
}
388982
func (x *Exif) Get(name FieldName) (*tiff.Tag, error) {
	if tg, ok := x.main[name]; ok {
		return tg, nil
	}
	return nil, TagNotPresentError(name)
}
655336
func (ts *tagStore) Get(ctx context.Context, tag string) (distribution.Descriptor, error) {
	currentPath, err := pathFor(manifestTagCurrentPathSpec{
		name: ts.repository.Named().Name(),
		tag:  tag,
	})

	if err != nil {
		return distribution.Descriptor{}, err
	}

	revision, err := ts.blobStore.readlink(ctx, currentPath)
	if err != nil {
		switch err.(type) {
		case storagedriver.PathNotFoundError:
			return distribution.Descriptor{}, distribution.ErrTagUnknown{Tag: tag}
		}

		return distribution.Descriptor{}, err
	}

	return distribution.Descriptor{Digest: revision}, nil
}
401127
func (s *TickerService) Get(pair string) (Tick, error) {
	pair = strings.ToUpper(pair)
	req, err := s.client.newRequest("GET", "pubticker/"+pair, nil)

	if err != nil {
		return Tick{}, err
	}

	var v = &Tick{}
	_, err = s.client.do(req, v)

	if err != nil {
		return Tick{}, err
	}

	return *v, nil
}
364954
func (t *TxStructure) Get(key []byte) ([]byte, error) {
	ek := t.encodeStringDataKey(key)
	value, err := t.reader.Get(ek)
	if kv.ErrNotExist.Equal(err) {
		err = nil
	}
	return value, errors.Trace(err)
}