update comments format

This commit is contained in:
pSox 2022-11-18 09:08:01 +00:00
parent babcedf827
commit 89deac379c
4 changed files with 68 additions and 65 deletions

32
main.go
View File

@ -1,20 +1,20 @@
/* /*
Copyright 2022 Dolysis Consulting Limited ** Copyright 2022 Dolysis Consulting Limited
**
Licensed under the Apache License, Version 2.0 (the "License"); ** Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. ** you may not use this file except in compliance with the License.
You may obtain a copy of the License at ** You may obtain a copy of the License at
**
http://www.apache.org/licenses/LICENSE-2.0 ** http://www.apache.org/licenses/LICENSE-2.0
**
Unless required by applicable law or agreed to in writing, software ** Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, ** distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and ** See the License for the specific language governing permissions and
limitations under the License. ** limitations under the License.
**
For changes see the git log ** For changes see the git log
*/ */
package main package main
import ( import (

View File

@ -1,27 +1,30 @@
/* /*
Copyright 2022 Dolysis Consulting Limited ** Copyright 2022 Dolysis Consulting Limited
**
Licensed under the Apache License, Version 2.0 (the "License"); ** Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. ** you may not use this file except in compliance with the License.
You may obtain a copy of the License at ** 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 ** http://www.apache.org/licenses/LICENSE-2.0
distributed under the License is distributed on an "AS IS" BASIS, **
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ** Unless required by applicable law or agreed to in writing, software
See the License for the specific language governing permissions and ** distributed under the License is distributed on an "AS IS" BASIS,
limitations under the License. ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
For changes see the git log ** limitations under the License.
*/ **
** For changes see the git log
*/
package pkg package pkg
import ( import (
"github.com/go-logr/logr"
ipp "git.st8l.com/dolysis/go-ipp"
"github.com/prometheus/client_golang/prometheus"
"net/url" "net/url"
"strconv" "strconv"
"time" "time"
ipp "git.st8l.com/dolysis/go-ipp"
"github.com/go-logr/logr"
"github.com/prometheus/client_golang/prometheus"
) )
const ( const (

View File

@ -1,20 +1,20 @@
/* /*
Copyright 2022 Dolysis Consulting Limited ** Copyright 2022 Dolysis Consulting Limited
**
Licensed under the Apache License, Version 2.0 (the "License"); ** Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. ** you may not use this file except in compliance with the License.
You may obtain a copy of the License at ** You may obtain a copy of the License at
**
http://www.apache.org/licenses/LICENSE-2.0 ** http://www.apache.org/licenses/LICENSE-2.0
**
Unless required by applicable law or agreed to in writing, software ** Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, ** distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and ** See the License for the specific language governing permissions and
limitations under the License. ** limitations under the License.
**
For changes see the git log ** For changes see the git log
*/ */
package pkg package pkg
import ( import (

View File

@ -1,20 +1,20 @@
/* /*
Copyright 2022 Dolysis Consulting Limited ** Copyright 2022 Dolysis Consulting Limited
**
Licensed under the Apache License, Version 2.0 (the "License"); ** Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. ** you may not use this file except in compliance with the License.
You may obtain a copy of the License at ** You may obtain a copy of the License at
**
http://www.apache.org/licenses/LICENSE-2.0 ** http://www.apache.org/licenses/LICENSE-2.0
**
Unless required by applicable law or agreed to in writing, software ** Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, ** distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and ** See the License for the specific language governing permissions and
limitations under the License. ** limitations under the License.
**
For changes see the git log ** For changes see the git log
*/ */
package pkg package pkg
import ( import (