Merge pull request #35 from go-gst/gomodule_cache

Workflow changes
This commit is contained in:
Wilhelm Bartel
2023-09-02 12:04:17 +02:00
committed by GitHub
25 changed files with 94 additions and 80 deletions

View File

@@ -22,7 +22,6 @@ import "C"
import (
"bytes"
"io"
"io/ioutil"
"runtime"
"unsafe"
@@ -112,7 +111,7 @@ func NewBufferFromBytes(b []byte) *Buffer {
// NewBufferFromReader returns a new buffer from the given io.Reader.
func NewBufferFromReader(rdr io.Reader) (*Buffer, error) {
out, err := ioutil.ReadAll(rdr)
out, err := io.ReadAll(rdr)
if err != nil {
return nil, err
}