diff --git a/README.md b/README.md index 3e7d071..514f35f 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,13 @@ GoPay is a cryptocurrency payment processor made in Go swag i -g v1.go -dir internal/router/api/v1 --instanceName v1 ``` + + ## Credits Thanks to [MoneroPay](https://github.com/moneropay/moneropay/) for the inspiration diff --git a/cmd/main.go b/cmd/main.go index 8098453..28587ff 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -1,3 +1,17 @@ +// Copyright 2024 perp (supernets) +// +// 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 +// +// 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. + package main import ( diff --git a/docs/v1_docs.go b/docs/v1_docs.go index e118e9c..4ca4fe1 100644 --- a/docs/v1_docs.go +++ b/docs/v1_docs.go @@ -1,3 +1,17 @@ +// Copyright 2024 perp (supernets) +// +// 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 +// +// 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. + // Package docs Code generated by swaggo/swag. DO NOT EDIT package docs diff --git a/docs/v1_swagger.yaml b/docs/v1_swagger.yaml index 31bb61b..5152db2 100644 --- a/docs/v1_swagger.yaml +++ b/docs/v1_swagger.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 perp (supernets) +# +# 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 +# +# 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. + info: contact: name: repository diff --git a/internal/config/config.go b/internal/config/config.go index 29afe4a..2365ddd 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -1,3 +1,17 @@ +// Copyright 2024 perp (supernets) +// +// 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 +// +// 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. + package config // Configuration diff --git a/internal/config/parse.go b/internal/config/parse.go index a7e246b..418e76b 100644 --- a/internal/config/parse.go +++ b/internal/config/parse.go @@ -1,3 +1,17 @@ +// Copyright 2024 perp (supernets) +// +// 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 +// +// 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. + package config import ( diff --git a/internal/context/context.go b/internal/context/context.go index ef948ca..826cda2 100644 --- a/internal/context/context.go +++ b/internal/context/context.go @@ -1,3 +1,17 @@ +// Copyright 2024 perp (supernets) +// +// 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 +// +// 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. + package context import ( diff --git a/internal/router/api/v1/spec.go b/internal/router/api/v1/spec.go index 87c45b9..72e0d30 100644 --- a/internal/router/api/v1/spec.go +++ b/internal/router/api/v1/spec.go @@ -1,3 +1,17 @@ +// Copyright 2024 perp (supernets) +// +// 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 +// +// 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. + package v1 import ( diff --git a/internal/router/api/v1/v1.go b/internal/router/api/v1/v1.go index d674092..67b2171 100644 --- a/internal/router/api/v1/v1.go +++ b/internal/router/api/v1/v1.go @@ -1,3 +1,17 @@ +// Copyright 2024 perp (supernets) +// +// 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 +// +// 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. + package v1 import "git.supernets.org/perp/gopay/internal/context" diff --git a/internal/router/router.go b/internal/router/router.go index 4c1ca01..3549d4a 100644 --- a/internal/router/router.go +++ b/internal/router/router.go @@ -1,3 +1,17 @@ +// Copyright 2024 perp (supernets) +// +// 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 +// +// 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. + package router import (