diff --git a/cmd/edit.go b/cmd/edit.go index 67b6444..2eaf133 100644 --- a/cmd/edit.go +++ b/cmd/edit.go @@ -1,5 +1,15 @@ package cmd +// 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. + import ( "os" "os/exec" diff --git a/cmd/root.go b/cmd/root.go index 57919b0..79ee08a 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -1,5 +1,15 @@ package cmd +// 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. + import ( "errors" "fmt" diff --git a/internal/players/mpv.go b/internal/players/mpv.go index 8925f57..ecc06a5 100644 --- a/internal/players/mpv.go +++ b/internal/players/mpv.go @@ -1,5 +1,15 @@ package players +// 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. + import ( "fmt" "os/exec" diff --git a/internal/players/player.go b/internal/players/player.go index ce06adf..ac4e44c 100644 --- a/internal/players/player.go +++ b/internal/players/player.go @@ -1,5 +1,15 @@ package players +// 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. + import ( "errors" ) diff --git a/internal/tui/keys.go b/internal/tui/keys.go index 7e78873..d3ef2cb 100644 --- a/internal/tui/keys.go +++ b/internal/tui/keys.go @@ -1,5 +1,15 @@ package tui +// 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. + import "github.com/charmbracelet/bubbles/key" type KeyMap struct { diff --git a/internal/tui/style.go b/internal/tui/style.go index 4bbe922..e06df96 100644 --- a/internal/tui/style.go +++ b/internal/tui/style.go @@ -1,5 +1,15 @@ package tui +// 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. + import "github.com/charmbracelet/lipgloss" var ( diff --git a/internal/tui/tui.go b/internal/tui/tui.go index 783ea44..281115f 100644 --- a/internal/tui/tui.go +++ b/internal/tui/tui.go @@ -1,5 +1,15 @@ package tui +// 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. + import ( "fmt" "os" diff --git a/internal/urls/urls.go b/internal/urls/urls.go index 36aaf54..3dbb0ae 100644 --- a/internal/urls/urls.go +++ b/internal/urls/urls.go @@ -1,5 +1,15 @@ package urls +// 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. + import ( "os" "strings" diff --git a/internal/utils/booleanPrompt.go b/internal/utils/booleanPrompt.go index d64eefa..b7fdd7a 100644 --- a/internal/utils/booleanPrompt.go +++ b/internal/utils/booleanPrompt.go @@ -1,5 +1,15 @@ package utils +// 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. + import ( "errors" diff --git a/internal/utils/fileutils.go b/internal/utils/fileutils.go index 4f8745a..3ef97e6 100644 --- a/internal/utils/fileutils.go +++ b/internal/utils/fileutils.go @@ -1,5 +1,15 @@ package utils +// 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. + import ( "errors" "io/fs" diff --git a/internal/utils/mathutils.go b/internal/utils/mathutils.go index a2cb6a7..75139b7 100644 --- a/internal/utils/mathutils.go +++ b/internal/utils/mathutils.go @@ -1,5 +1,15 @@ package utils +// 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. + func ClampInts(v, min, max int) int { if v > max { return max diff --git a/internal/utils/stringutils.go b/internal/utils/stringutils.go index b06f8c5..e98f28a 100644 --- a/internal/utils/stringutils.go +++ b/internal/utils/stringutils.go @@ -1,5 +1,15 @@ package utils +// 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. + import "math/rand" // return a random string of length n