gserviceaccount/gserviceaccount.go
func FromReader(r io.Reader, opts ...Option) (*GServiceAccount, error) {
	buf, err := ioutil.ReadAll(r)
	if err != nil {
		return nil, err
	}

	return FromJSON(buf, opts...)
}
func FromReader(r io.Reader, opts ...Option) (*GServiceAccount, error) {
	buf, err := ioutil.ReadAll(r)
	if err != nil {
		return nil, err
	}

	return FromJSON(buf, opts...)
}
func FromReader ( r io . Reader , opts ... Option ) ( * GServiceAccount , error ) { buf , err := ioutil . ReadAll ( r ) if err != nil { return nil , err } return FromJSON ( buf , opts ... ) }
// FromReader loads Google service account credentials from a reader.
FromReader loads Google service account credentials from a reader .