From c9f8a7c6b87064cc97792f3030cb8c45cc566dde Mon Sep 17 00:00:00 2001 From: Marko Kungla Date: Tue, 27 Feb 2024 19:40:33 +0200 Subject: [PATCH] chore: update file headers Signed-off-by: Marko Kungla --- account.go | 14 +------------- address.go | 14 +------------- asset.go | 14 +------------- block.go | 14 +------------- client.go | 14 +------------- epoch.go | 14 +------------- go.mod | 8 +------- go.sum | 10 ---------- koios.go | 3 ++- network.go | 14 +------------- options.go | 14 +------------- pool.go | 14 +------------- request.go | 14 +------------- response.go | 14 +------------- script.go | 14 +------------- transaction.go | 14 +------------- 16 files changed, 16 insertions(+), 187 deletions(-) diff --git a/account.go b/account.go index f0e5783..4b6a2eb 100644 --- a/account.go +++ b/account.go @@ -1,18 +1,6 @@ -// Copyright 2022 The Cardano Community Authors // SPDX-License-Identifier: Apache-2.0 // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// or LICENSE file in repository root. -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Copyright © 2022 The Cardano Community Authors package koios diff --git a/address.go b/address.go index fed99ab..d6844b5 100644 --- a/address.go +++ b/address.go @@ -1,18 +1,6 @@ -// Copyright 2022 The Cardano Community Authors // SPDX-License-Identifier: Apache-2.0 // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// or LICENSE file in repository root. -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Copyright © 2022 The Cardano Community Authors package koios diff --git a/asset.go b/asset.go index eac27a6..3ec8980 100644 --- a/asset.go +++ b/asset.go @@ -1,18 +1,6 @@ -// Copyright 2022 The Cardano Community Authors // SPDX-License-Identifier: Apache-2.0 // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// or LICENSE file in repository root. -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Copyright © 2022 The Cardano Community Authors package koios diff --git a/block.go b/block.go index 9f611c1..aa76b88 100644 --- a/block.go +++ b/block.go @@ -1,18 +1,6 @@ -// Copyright 2022 The Cardano Community Authors // SPDX-License-Identifier: Apache-2.0 // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// or LICENSE file in repository root. -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Copyright © 2022 The Cardano Community Authors package koios diff --git a/client.go b/client.go index 0871121..f371f03 100644 --- a/client.go +++ b/client.go @@ -1,18 +1,6 @@ -// Copyright 2022 The Cardano Community Authors // SPDX-License-Identifier: Apache-2.0 // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// or LICENSE file in repository root. -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Copyright © 2022 The Cardano Community Authors package koios diff --git a/epoch.go b/epoch.go index 2a1dd5d..a7633b2 100644 --- a/epoch.go +++ b/epoch.go @@ -1,18 +1,6 @@ -// Copyright 2022 The Cardano Community Authors // SPDX-License-Identifier: Apache-2.0 // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// or LICENSE file in repository root. -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Copyright © 2022 The Cardano Community Authors package koios diff --git a/go.mod b/go.mod index 91543f0..68a4262 100644 --- a/go.mod +++ b/go.mod @@ -5,14 +5,8 @@ go 1.22 require ( github.com/happy-sdk/happy/pkg/version v0.1.2 github.com/shopspring/decimal v1.3.1 - github.com/stretchr/testify v1.8.4 golang.org/x/text v0.14.0 golang.org/x/time v0.5.0 ) -require ( - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect - golang.org/x/mod v0.15.0 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect -) +require golang.org/x/mod v0.15.0 // indirect diff --git a/go.sum b/go.sum index 3958049..a1491ac 100644 --- a/go.sum +++ b/go.sum @@ -1,20 +1,10 @@ -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= github.com/happy-sdk/happy/pkg/version v0.1.2 h1:8DJ0afkEVW2fdm1uEScTS4wPgGe0Tmls3QPuX7jrbhY= github.com/happy-sdk/happy/pkg/version v0.1.2/go.mod h1:mFhI4DRvXZ8Ls8D5/aXIqcMnjCUBNtI3Ye9ilYL2Bz0= -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/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5gKV8= github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= golang.org/x/mod v0.15.0 h1:SernR4v+D55NyBH2QiEQrlBAnj1ECL6AGrA5+dPaMY8= golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk= golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= -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.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/koios.go b/koios.go index 63bbf61..fa4b76e 100644 --- a/koios.go +++ b/koios.go @@ -1,5 +1,6 @@ -// Copyright 2022 The Cardano Community Authors // SPDX-License-Identifier: Apache-2.0 +// +// Copyright © 2022 The Cardano Community Authors // Package koios provides api client library to interact with Koios API // endpoints and Cardano Blockchain. Sub package ./cmd/koios-rest diff --git a/network.go b/network.go index bc8be84..eeb8d48 100644 --- a/network.go +++ b/network.go @@ -1,18 +1,6 @@ -// Copyright 2022 The Cardano Community Authors // SPDX-License-Identifier: Apache-2.0 // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// or LICENSE file in repository root. -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Copyright © 2022 The Cardano Community Authors package koios diff --git a/options.go b/options.go index 453843d..22bb3c6 100644 --- a/options.go +++ b/options.go @@ -1,18 +1,6 @@ -// Copyright 2022 The Cardano Community Authors // SPDX-License-Identifier: Apache-2.0 // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// or LICENSE file in repository root. -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Copyright © 2022 The Cardano Community Authors package koios diff --git a/pool.go b/pool.go index 00a966c..0904ff4 100644 --- a/pool.go +++ b/pool.go @@ -1,18 +1,6 @@ -// Copyright 2022 The Cardano Community Authors // SPDX-License-Identifier: Apache-2.0 // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// or LICENSE file in repository root. -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Copyright © 2022 The Cardano Community Authors package koios diff --git a/request.go b/request.go index 99712bd..f3c1c2b 100644 --- a/request.go +++ b/request.go @@ -1,18 +1,6 @@ -// Copyright 2022 The Cardano Community Authors // SPDX-License-Identifier: Apache-2.0 // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// or LICENSE file in repository root. -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Copyright © 2022 The Cardano Community Authors package koios diff --git a/response.go b/response.go index 17f5388..b695af2 100644 --- a/response.go +++ b/response.go @@ -1,18 +1,6 @@ -// Copyright 2022 The Cardano Community Authors // SPDX-License-Identifier: Apache-2.0 // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// or LICENSE file in repository root. -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Copyright © 2022 The Cardano Community Authors package koios diff --git a/script.go b/script.go index 3a5c0f9..255d4be 100644 --- a/script.go +++ b/script.go @@ -1,18 +1,6 @@ -// Copyright 2022 The Cardano Community Authors // SPDX-License-Identifier: Apache-2.0 // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// or LICENSE file in repository root. -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Copyright © 2022 The Cardano Community Authors package koios diff --git a/transaction.go b/transaction.go index e51eff7..7e66ad7 100644 --- a/transaction.go +++ b/transaction.go @@ -1,18 +1,6 @@ -// Copyright 2022 The Cardano Community Authors // SPDX-License-Identifier: Apache-2.0 // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at: -// -// http://www.apache.org/licenses/LICENSE-2.0 -// or LICENSE file in repository root. -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Copyright © 2022 The Cardano Community Authors package koios