From e2a492761285a62ae32d510bdca9ebb97f687c81 Mon Sep 17 00:00:00 2001 From: Jakub Sobon Date: Tue, 8 May 2018 01:14:36 +0100 Subject: [PATCH] Adding licences. --- README.md | 2 +- align/align.go | 14 ++++++++++++++ align/align_test.go | 14 ++++++++++++++ draw/rectangle.go | 14 ++++++++++++++ draw/rectangle_test.go | 14 ++++++++++++++ widgets/gauge/gauge.go | 14 ++++++++++++++ widgets/gauge/gauge_test.go | 14 ++++++++++++++ widgets/gauge/options.go | 14 ++++++++++++++ 8 files changed, 99 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 04031d5..90d3ee4 100644 --- a/README.md +++ b/README.md @@ -67,4 +67,4 @@ development](doc/widget_development.md) section. Run the [gaugedemo](widgets/gauge/demo/gaugedemo.go). -[gaugedemo](widgets/gauge/demo/gaugedemo.go) +[gaugedemo](widgets/gauge/demo/gaugedemo.go) diff --git a/align/align.go b/align/align.go index 5b24d9e..3cac887 100644 --- a/align/align.go +++ b/align/align.go @@ -1,3 +1,17 @@ +// Copyright 2018 Google Inc. +// +// 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 align defines constants representing types of alignment. package align diff --git a/align/align_test.go b/align/align_test.go index 594e007..d4b77a0 100644 --- a/align/align_test.go +++ b/align/align_test.go @@ -1,3 +1,17 @@ +// Copyright 2018 Google Inc. +// +// 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 align import ( diff --git a/draw/rectangle.go b/draw/rectangle.go index 2ab072a..49ddfa6 100644 --- a/draw/rectangle.go +++ b/draw/rectangle.go @@ -1,3 +1,17 @@ +// Copyright 2018 Google Inc. +// +// 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 draw // rectangle.go draws a rectangle. diff --git a/draw/rectangle_test.go b/draw/rectangle_test.go index a974dae..c8b6f18 100644 --- a/draw/rectangle_test.go +++ b/draw/rectangle_test.go @@ -1,3 +1,17 @@ +// Copyright 2018 Google Inc. +// +// 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 draw import ( diff --git a/widgets/gauge/gauge.go b/widgets/gauge/gauge.go index b3b15b8..a31c5c8 100644 --- a/widgets/gauge/gauge.go +++ b/widgets/gauge/gauge.go @@ -1,3 +1,17 @@ +// Copyright 2018 Google Inc. +// +// 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 gauge implements a widget that displays the progress of an operation. package gauge diff --git a/widgets/gauge/gauge_test.go b/widgets/gauge/gauge_test.go index 0fb0040..f39423c 100644 --- a/widgets/gauge/gauge_test.go +++ b/widgets/gauge/gauge_test.go @@ -1,3 +1,17 @@ +// Copyright 2018 Google Inc. +// +// 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 gauge import ( diff --git a/widgets/gauge/options.go b/widgets/gauge/options.go index 61484ca..7f20e9b 100644 --- a/widgets/gauge/options.go +++ b/widgets/gauge/options.go @@ -1,3 +1,17 @@ +// Copyright 2018 Google Inc. +// +// 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 gauge // options.go contains configurable options for Gauge.