replace dep with go modules (#16017)

- guide shamelessly stolen from prometheus/prometheus
- updates local interface of oauth exchange
- updates local impl of hclogger
- bump jaeger client version

closes #16088
This commit is contained in:
Carl Bergquist authored and GitHub committed 2019-04-16 12:00:55 +02:00
1 parent d6b48ee099
commit 68f5ddf18c
944 files changed
+181567 -137219

No files matched your search

+5
View File
@@ -78,6 +78,11 @@ func (s *PostgresStore) ID() string {
// save postgres session values to database.
// must call this method to save values to database.
func (s *PostgresStore) Release() error {
// Skip encoding if the data is empty
if len(s.data) == 0 {
return nil
}
data, err := session.EncodeGob(s.data)
if err != nil {
return err