Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Require go1.19 #194

Merged
merged 2 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module code.cloudfoundry.org/go-loggregator/v9

go 1.18
go 1.19

require (
code.cloudfoundry.org/go-diodes v0.0.0-20180905200951-72629b5276e3
Expand Down
4 changes: 2 additions & 2 deletions v1/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
package v1

import (
"io/ioutil"
"io"
"log"
"strconv"
"time"
Expand Down Expand Up @@ -50,7 +50,7 @@ type Client struct {
func NewClient(opts ...ClientOption) (*Client, error) {
c := &Client{
tags: make(map[string]string),
logger: log.New(ioutil.Discard, "", 0),
logger: log.New(io.Discard, "", 0),
}

for _, o := range opts {
Expand Down