From 89deac379c31adc7e76b7061fe9cec6a07533166 Mon Sep 17 00:00:00 2001 From: pSox Date: Fri, 18 Nov 2022 09:08:01 +0000 Subject: [PATCH] update comments format --- main.go | 32 ++++++++++++++++---------------- pkg/exporter.go | 37 ++++++++++++++++++++----------------- pkg/jobs.go | 32 ++++++++++++++++---------------- pkg/printers.go | 32 ++++++++++++++++---------------- 4 files changed, 68 insertions(+), 65 deletions(-) diff --git a/main.go b/main.go index 1fc6326..7cb5b4b 100644 --- a/main.go +++ b/main.go @@ -1,20 +1,20 @@ /* -Copyright 2022 Dolysis Consulting Limited - -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. - -For changes see the git log -*/ +** Copyright 2022 Dolysis Consulting Limited +** +** 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. +** +** For changes see the git log + */ package main import ( diff --git a/pkg/exporter.go b/pkg/exporter.go index d4a1b62..5ae37e7 100644 --- a/pkg/exporter.go +++ b/pkg/exporter.go @@ -1,27 +1,30 @@ /* - Copyright 2022 Dolysis Consulting Limited - - 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. - - For changes see the git log -*/ +** Copyright 2022 Dolysis Consulting Limited +** +** 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. +** +** For changes see the git log + */ package pkg import ( - "github.com/go-logr/logr" - ipp "git.st8l.com/dolysis/go-ipp" - "github.com/prometheus/client_golang/prometheus" "net/url" "strconv" "time" + + ipp "git.st8l.com/dolysis/go-ipp" + "github.com/go-logr/logr" + "github.com/prometheus/client_golang/prometheus" ) const ( diff --git a/pkg/jobs.go b/pkg/jobs.go index 4bb46f8..1a4a5e2 100644 --- a/pkg/jobs.go +++ b/pkg/jobs.go @@ -1,20 +1,20 @@ /* -Copyright 2022 Dolysis Consulting Limited - -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. - -For changes see the git log -*/ +** Copyright 2022 Dolysis Consulting Limited +** +** 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. +** +** For changes see the git log + */ package pkg import ( diff --git a/pkg/printers.go b/pkg/printers.go index 56a14bc..fb63f2f 100644 --- a/pkg/printers.go +++ b/pkg/printers.go @@ -1,20 +1,20 @@ /* -Copyright 2022 Dolysis Consulting Limited - -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. - -For changes see the git log -*/ +** Copyright 2022 Dolysis Consulting Limited +** +** 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. +** +** For changes see the git log + */ package pkg import (