Skip to content

Commit

Permalink
hmm
Browse files Browse the repository at this point in the history
  • Loading branch information
AmarnathCJD committed Aug 4, 2022
1 parent 1e36e2b commit 3b9e320
Show file tree
Hide file tree
Showing 65 changed files with 67 additions and 90 deletions.
2 changes: 1 addition & 1 deletion common_methods.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package mtproto

Expand Down
2 changes: 1 addition & 1 deletion examples/auth/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import (
"strings"
"time"

mtproto "github.com/amarnathcjd/gogram"
"github.com/amarnathcjd/gogram/telegram"
"github.com/k0kubun/pp"
"github.com/pkg/errors"
"github.com/xelaj/go-dry"
"github.com/xelaj/mtproto"

utils "github.com/amarnathcjd/gogram/examples/example_utils"
)
Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ require (
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/stretchr/objx v0.4.0 // indirect
golang.org/x/sys v0.0.0-20220803195053-6e608f9ce704 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
22 changes: 0 additions & 22 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand All @@ -8,24 +7,17 @@ github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88 h1:uC1QfSlInpQ
github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88/go.mod h1:3w7q1U84EfirKl04SVQ/s7nPm1ZPhiXd34z40TNz36k=
github.com/k0kubun/pp v3.0.1+incompatible h1:3tqvf7QgUnZ5tXO6pNAZlrvHgl6DvifjDrd9g2S9Z40=
github.com/k0kubun/pp v3.0.1+incompatible/go.mod h1:GWse8YhT0p8pT4ir3ZgBbfZild3tgzSScAn6HmfYukg=
github.com/mattn/go-colorable v0.1.8 h1:c1ghPdyEDarC70ftn0y+A/Ee++9zz8ljHG1b13eJ0s8=
github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40=
github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY=
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y=
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.4.0 h1:M2gUjqZET1qApGOWNSnZ49BAIMX4F/1plDv3+l31EJ4=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk=
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
Expand All @@ -35,33 +27,19 @@ github.com/xelaj/go-dry v0.0.0-20210621215431-21c77821487c h1:Ae/w5g9I26DlCKzIGQ
github.com/xelaj/go-dry v0.0.0-20210621215431-21c77821487c/go.mod h1:T4HQGApNb61ngPeYXsZXVNy3whgx7tN3eVhdTD2j2Zs=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2 h1:It14KIkyBFYkHkwZ7k45minvA9aorojkyjGk9KJ5B/w=
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa h1:zuSxTR4o9y82ebqCUJYNGJbGPo6sKVl54f/TVDObg1c=
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210324051608-47abb6519492 h1:Paq34FxTluEPvVyayQqMPgHm+vTOrIifmcYxFBx9TLg=
golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6 h1:foEbQz/B0Oz6YIqu/69kfXPYeFQAuuMYFkjaqXzl5Wo=
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220803195053-6e608f9ce704 h1:Y7NOhdqIOU8kYI7BxsgL38d0ot0raxvcW+EMQU2QrT4=
golang.org/x/sys v0.0.0-20220803195053-6e608f9ce704/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
2 changes: 1 addition & 1 deletion handshake.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package mtproto

Expand Down
2 changes: 1 addition & 1 deletion internal/aes_ige/aes.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package ige

Expand Down
2 changes: 1 addition & 1 deletion internal/aes_ige/aes_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package ige

Expand Down
2 changes: 1 addition & 1 deletion internal/aes_ige/errors.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package ige

Expand Down
2 changes: 1 addition & 1 deletion internal/aes_ige/extra.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package ige

Expand Down
2 changes: 1 addition & 1 deletion internal/aes_ige/ige_cipher.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package ige

Expand Down
2 changes: 1 addition & 1 deletion internal/aes_ige/ige_cipher_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package ige

Expand Down
2 changes: 1 addition & 1 deletion internal/aes_ige/utils.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package ige

Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/tlgen/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/xelaj/mtproto/internal/cmd/tlgen
module github.com/amarnathcjd/gogram/internal/cmd/tlgen

go 1.15

Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/tlgen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ are amazing too, but lesser 😏
const license = `Copyright (c) 2020-2021 KHS Films
This file is a part of mtproto package.
See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details
`

func main() {
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/tlgen/tlparser/extra.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package tlparser

Expand Down
2 changes: 1 addition & 1 deletion internal/encoding/tl/common_types.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package tl

Expand Down
2 changes: 1 addition & 1 deletion internal/encoding/tl/const.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package tl

Expand Down
2 changes: 1 addition & 1 deletion internal/encoding/tl/cursor_r.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package tl

Expand Down
2 changes: 1 addition & 1 deletion internal/encoding/tl/cursor_w.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package tl

Expand Down
4 changes: 2 additions & 2 deletions internal/encoding/tl/decoder.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package tl

Expand Down Expand Up @@ -280,7 +280,7 @@ func (d *Decoder) decodeRegisteredObject() Object {
var _typ reflect.Type

// firstly, we are checking specific crc situations.
// See https://github.com/xelaj/mtproto/issues/51
// See https://github.com/amarnathcjd/gogram/issues/51
switch crc {
case CrcVector:
if len(d.expectedTypes) == 0 {
Expand Down
4 changes: 2 additions & 2 deletions internal/encoding/tl/decoder_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package tl_test

Expand Down Expand Up @@ -197,7 +197,7 @@ func TestDecodeUnknown(t *testing.T) {
expected: &tl.PseudoFalse{},
},
{
name: "issue_59", // https://github.com/xelaj/mtproto/issues/59
name: "issue_59", // https://github.com/amarnathcjd/gogram/issues/59
// crc id flag question string
data: Hexed("6181e186100000006115f84a0000000015d094d0bed181d182d0b0d182d0bed1" +
// slice len3 crc long message
Expand Down
2 changes: 1 addition & 1 deletion internal/encoding/tl/encoder.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package tl

Expand Down
2 changes: 1 addition & 1 deletion internal/encoding/tl/encoder_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package tl_test

Expand Down
2 changes: 1 addition & 1 deletion internal/encoding/tl/equality_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package tl_test

Expand Down
2 changes: 1 addition & 1 deletion internal/encoding/tl/errors.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright£ (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package tl

Expand Down
2 changes: 1 addition & 1 deletion internal/encoding/tl/extra.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package tl

Expand Down
2 changes: 1 addition & 1 deletion internal/encoding/tl/extra_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package tl_test

Expand Down
2 changes: 1 addition & 1 deletion internal/encoding/tl/fixtures_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package tl_test

Expand Down
2 changes: 1 addition & 1 deletion internal/encoding/tl/main_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package tl_test

Expand Down
4 changes: 2 additions & 2 deletions internal/encoding/tl/object.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package tl

Expand All @@ -23,7 +23,7 @@ type Unmarshaler interface {

//==========================================================================================================//
// Next types are specific structs for handling bool types, slice and null as object. //
// See https://github.com/xelaj/mtproto/issues/51 //
// See https://github.com/amarnathcjd/gogram/issues/51 //
//==========================================================================================================//

// PseudoTrue is a support struct which is required to get native
Expand Down
2 changes: 1 addition & 1 deletion internal/encoding/tl/register.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

//nolint:gochecknoglobals required global
package tl
Expand Down
2 changes: 1 addition & 1 deletion internal/encoding/tl/tag.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package tl

Expand Down
2 changes: 1 addition & 1 deletion internal/encoding/tl/utils.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package tl

Expand Down
2 changes: 1 addition & 1 deletion internal/keys/keys.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

package keys

Expand Down
2 changes: 1 addition & 1 deletion internal/math/math.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2020-2021 KHS Films
//
// This file is a part of mtproto package.
// See https://github.com/xelaj/mtproto/blob/master/LICENSE for details
// See https://github.com/amarnathcjd/gogram/blob/master/LICENSE for details

//nolint:gochecknoglobals using it just for simplification and more readable
package math
Expand Down
Loading

0 comments on commit 3b9e320

Please sign in to comment.