summaryrefslogtreecommitdiff
path: root/vendor/github.com/jackc/pgproto3/v2/big_endian.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2023-10-23 10:47:11 +0100
committerLibravatar GitHub <noreply@github.com>2023-10-23 10:47:11 +0100
commit3dcc94940de1408663d2258474472983549584c8 (patch)
tree25c642e7e2bcfe3f589ba0c06d36661e5b9e3405 /vendor/github.com/jackc/pgproto3/v2/big_endian.go
parent[bugfix/frontend] fix typo and other oddness in patchRemoteEmojis (#2281) (diff)
downloadgotosocial-3dcc94940de1408663d2258474472983549584c8.tar.xz
[chore]: Bump github.com/coreos/go-oidc/v3 from 3.6.0 to 3.7.0 (#2284)
Bumps [github.com/coreos/go-oidc/v3](https://github.com/coreos/go-oidc) from 3.6.0 to 3.7.0. - [Release notes](https://github.com/coreos/go-oidc/releases) - [Commits](https://github.com/coreos/go-oidc/compare/v3.6.0...v3.7.0) --- updated-dependencies: - dependency-name: github.com/coreos/go-oidc/v3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/github.com/jackc/pgproto3/v2/big_endian.go')
-rw-r--r--vendor/github.com/jackc/pgproto3/v2/big_endian.go37
1 files changed, 0 insertions, 37 deletions
diff --git a/vendor/github.com/jackc/pgproto3/v2/big_endian.go b/vendor/github.com/jackc/pgproto3/v2/big_endian.go
deleted file mode 100644
index f7bdb97eb..000000000
--- a/vendor/github.com/jackc/pgproto3/v2/big_endian.go
+++ /dev/null
@@ -1,37 +0,0 @@
-package pgproto3
-
-import (
- "encoding/binary"
-)
-
-type BigEndianBuf [8]byte
-
-func (b BigEndianBuf) Int16(n int16) []byte {
- buf := b[0:2]
- binary.BigEndian.PutUint16(buf, uint16(n))
- return buf
-}
-
-func (b BigEndianBuf) Uint16(n uint16) []byte {
- buf := b[0:2]
- binary.BigEndian.PutUint16(buf, n)
- return buf
-}
-
-func (b BigEndianBuf) Int32(n int32) []byte {
- buf := b[0:4]
- binary.BigEndian.PutUint32(buf, uint32(n))
- return buf
-}
-
-func (b BigEndianBuf) Uint32(n uint32) []byte {
- buf := b[0:4]
- binary.BigEndian.PutUint32(buf, n)
- return buf
-}
-
-func (b BigEndianBuf) Int64(n int64) []byte {
- buf := b[0:8]
- binary.BigEndian.PutUint64(buf, uint64(n))
- return buf
-}