diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a7f502f..ba49af1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -26,9 +26,10 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v6 with: - version: latest + distribution: goreleaser # or 'goreleaser-pro' + version: "~> v2" # or 'latest', 'nightly', semver args: release --parallelism 1 --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.golangci.yml b/.golangci.yml index 16aea61..a794330 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -20,7 +20,7 @@ linters-settings: locale: US gofumpt: - lang-version: "1.21" + lang-version: "1.22" # Choose whether or not to use the extra rules that are disabled # by default diff --git a/.goreleaser.yml b/.goreleaser.yml index 2d6cf18..c262fd9 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,4 @@ +version: 2 env: - GO111MODULE=on - CGO_ENABLED=0 @@ -21,7 +22,6 @@ builds: archives: - format: tar.gz - rlcp: true files: - README.md - LICENSE diff --git a/README.md b/README.md index 0ea39bb..b77b113 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ pb query "select * from backend" --from=1m --to=now or specifying time range in rfc3999 ```bash -pb query "select * from backend" --from=2023-01-00T01:40:00.000Z --to=2023-01-00T01:55:00.000Z +pb query "select * from backend" --from=2024-01-00T01:40:00.000Z --to=2024-01-00T01:55:00.000Z ``` You can use tools like `jq` and `grep` to further process and filter the output. Some examples: diff --git a/buildscripts/checkdeps.sh b/buildscripts/checkdeps.sh index e4d0cd6..182bf86 100644 --- a/buildscripts/checkdeps.sh +++ b/buildscripts/checkdeps.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2023 Cloudnatively Services Pvt Ltd +# Copyright (c) 2024 Parseable, Inc # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by diff --git a/buildscripts/cross-compile.sh b/buildscripts/cross-compile.sh index 10e2886..0d592d7 100644 --- a/buildscripts/cross-compile.sh +++ b/buildscripts/cross-compile.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2023 Cloudnatively Services Pvt Ltd +# Copyright (c) 2024 Parseable, Inc # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by diff --git a/buildscripts/gen-ldflags.go b/buildscripts/gen-ldflags.go index 9d1313b..5d8bccf 100644 --- a/buildscripts/gen-ldflags.go +++ b/buildscripts/gen-ldflags.go @@ -1,7 +1,7 @@ //go:build ignore // +build ignore -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/cmd/about.go b/cmd/about.go index ff0670d..bde360e 100644 --- a/cmd/about.go +++ b/cmd/about.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/cmd/client.go b/cmd/client.go index 1696c1e..543cbaf 100644 --- a/cmd/client.go +++ b/cmd/client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // // This program is free software: you can redistribute it and/or modify @@ -20,8 +20,9 @@ import ( "io" "net/http" "net/url" - "pb/pkg/config" "time" + + "pb/pkg/config" ) type HTTPClient struct { diff --git a/cmd/pre.go b/cmd/pre.go index 713d86c..d3423d6 100644 --- a/cmd/pre.go +++ b/cmd/pre.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // // This program is free software: you can redistribute it and/or modify @@ -19,6 +19,7 @@ package cmd import ( "errors" "os" + "pb/pkg/config" "github.com/spf13/cobra" diff --git a/cmd/profile.go b/cmd/profile.go index ec9caf1..2f15539 100644 --- a/cmd/profile.go +++ b/cmd/profile.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -20,6 +20,7 @@ import ( "fmt" "net/url" "os" + "pb/pkg/config" "pb/pkg/model/credential" "pb/pkg/model/defaultprofile" diff --git a/cmd/query.go b/cmd/query.go index 665911e..da338a4 100644 --- a/cmd/query.go +++ b/cmd/query.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -22,9 +22,10 @@ import ( "fmt" "io" "os" - "pb/pkg/model" "time" + "pb/pkg/model" + tea "github.com/charmbracelet/bubbletea" "github.com/spf13/cobra" ) @@ -106,8 +107,8 @@ var query = &cobra.Command{ var QueryCmd = func() *cobra.Command { query.Flags().BoolP(interactiveFlag, interactiveFlagShort, false, "open the query result in interactive mode") - query.Flags().StringP(startFlag, startFlagShort, defaultStart, "Start time for query. Takes date as '2023-10-12T07:20:50.52Z' or string like '10m', '1hr'") - query.Flags().StringP(endFlag, endFlagShort, defaultEnd, "End time for query. Takes date as '2023-10-12T07:20:50.52Z' or 'now'") + query.Flags().StringP(startFlag, startFlagShort, defaultStart, "Start time for query. Takes date as '2024-10-12T07:20:50.52Z' or string like '10m', '1hr'") + query.Flags().StringP(endFlag, endFlagShort, defaultEnd, "End time for query. Takes date as '2024-10-12T07:20:50.52Z' or 'now'") return query }() diff --git a/cmd/role.go b/cmd/role.go index 5b7cc51..6c63240 100644 --- a/cmd/role.go +++ b/cmd/role.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -21,10 +21,11 @@ import ( "fmt" "io" "os" - "pb/pkg/model/role" "strings" "sync" + "pb/pkg/model/role" + tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" "github.com/spf13/cobra" diff --git a/cmd/stream.go b/cmd/stream.go index e26818d..a73af03 100644 --- a/cmd/stream.go +++ b/cmd/stream.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/cmd/style.go b/cmd/style.go index 8bfd183..cebfddf 100644 --- a/cmd/style.go +++ b/cmd/style.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // // This program is free software: you can redistribute it and/or modify diff --git a/cmd/tail.go b/cmd/tail.go index 736629e..e2ef3d6 100644 --- a/cmd/tail.go +++ b/cmd/tail.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // // This program is free software: you can redistribute it and/or modify @@ -22,6 +22,7 @@ import ( "encoding/base64" "encoding/json" "fmt" + "pb/pkg/config" "github.com/apache/arrow/go/v13/arrow/array" diff --git a/cmd/user.go b/cmd/user.go index b2c486f..21a878b 100644 --- a/cmd/user.go +++ b/cmd/user.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/cmd/version.go b/cmd/version.go index a550f59..9b7a266 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/go.mod b/go.mod index e2908b7..9ffd0f1 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/charmbracelet/bubbles v0.16.1 github.com/charmbracelet/bubbletea v0.24.2 github.com/dustin/go-humanize v1.0.1 - golang.org/x/exp v0.0.0-20230807204917-050eac23e9de + golang.org/x/exp v0.0.0-20240807204917-050eac23e9de golang.org/x/term v0.13.0 google.golang.org/grpc v1.56.3 ) @@ -26,7 +26,7 @@ require ( golang.org/x/net v0.17.0 // indirect golang.org/x/tools v0.6.0 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect - google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect + google.golang.org/genproto v0.0.0-20240410155749-daa745c078e1 // indirect google.golang.org/protobuf v1.30.0 // indirect ) @@ -41,12 +41,12 @@ require ( require ( github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect - github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect + github.com/containerd/console v1.0.4-0.20240313162750-1ae8d489ac81 // indirect github.com/lucasb-eyer/go-colorful v1.2.0 // indirect github.com/mattn/go-isatty v0.0.19 // indirect github.com/mattn/go-localereader v0.0.1 // indirect github.com/mattn/go-runewidth v0.0.15 // indirect - github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect + github.com/muesli/ansi v0.0.0-20240316100256-276c6243b2f6 // indirect github.com/muesli/cancelreader v0.2.2 // indirect github.com/muesli/reflow v0.3.0 // indirect github.com/rivo/uniseg v0.4.4 // indirect diff --git a/go.sum b/go.sum index 881f1e0..1eb0639 100644 --- a/go.sum +++ b/go.sum @@ -10,8 +10,8 @@ github.com/charmbracelet/bubbletea v0.24.2 h1:uaQIKx9Ai6Gdh5zpTbGiWpytMU+CfsPp06 github.com/charmbracelet/bubbletea v0.24.2/go.mod h1:XdrNrV4J8GiyshTtx3DNuYkR1FDaJmO3l2nejekbsgg= github.com/charmbracelet/lipgloss v0.7.1 h1:17WMwi7N1b1rVWOjMT+rCh7sQkvDU75B2hbZpc5Kc1E= github.com/charmbracelet/lipgloss v0.7.1/go.mod h1:yG0k3giv8Qj8edTCbbg6AlQ5e8KNWpFujkNawKNhE2c= -github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 h1:q2hJAaP1k2wIvVRd/hEHD7lacgqrCPS+k8g1MndzfWY= -github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81/go.mod h1:YynlIjWYF8myEu6sdkwKIvGQq+cOckRm6So2avqoYAk= +github.com/containerd/console v1.0.4-0.20240313162750-1ae8d489ac81 h1:q2hJAaP1k2wIvVRd/hEHD7lacgqrCPS+k8g1MndzfWY= +github.com/containerd/console v1.0.4-0.20240313162750-1ae8d489ac81/go.mod h1:YynlIjWYF8myEu6sdkwKIvGQq+cOckRm6So2avqoYAk= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= @@ -46,8 +46,8 @@ github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+Ei github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk= github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U= github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= -github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 h1:ZK8zHtRHOkbHy6Mmr5D264iyp3TiX5OmNcI5cIARiQI= -github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6/go.mod h1:CJlz5H+gyd6CUWT45Oy4q24RdLyn7Md9Vj2/ldJBSIo= +github.com/muesli/ansi v0.0.0-20240316100256-276c6243b2f6 h1:ZK8zHtRHOkbHy6Mmr5D264iyp3TiX5OmNcI5cIARiQI= +github.com/muesli/ansi v0.0.0-20240316100256-276c6243b2f6/go.mod h1:CJlz5H+gyd6CUWT45Oy4q24RdLyn7Md9Vj2/ldJBSIo= github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA= github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo= github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s= @@ -81,8 +81,8 @@ github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXl github.com/zeebo/assert v1.3.0 h1:g7C04CbJuIDKNPFHmsk4hwZDO5O+kntRxzaUoNXj+IQ= github.com/zeebo/xxh3 v1.0.2 h1:xZmwmqxHZA8AI603jOQ0tMqmBr9lPeFwGg6d+xy9DC0= github.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaDcA= -golang.org/x/exp v0.0.0-20230807204917-050eac23e9de h1:l5Za6utMv/HsBWWqzt4S8X17j+kt1uVETUX5UFhn2rE= -golang.org/x/exp v0.0.0-20230807204917-050eac23e9de/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= +golang.org/x/exp v0.0.0-20240807204917-050eac23e9de h1:l5Za6utMv/HsBWWqzt4S8X17j+kt1uVETUX5UFhn2rE= +golang.org/x/exp v0.0.0-20240807204917-050eac23e9de/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= golang.org/x/mod v0.11.0 h1:bUO06HqtnRcc/7l71XBe4WcqTZ+3AH1J59zWDDwLKgU= golang.org/x/mod v0.11.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= @@ -104,8 +104,8 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= gonum.org/v1/gonum v0.12.0 h1:xKuo6hzt+gMav00meVPUlXwSdoEJP46BR+wdxQEFK2o= -google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 h1:KpwkzHKEF7B9Zxg18WzOa7djJ+Ha5DzthMyZYQfEn2A= -google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU= +google.golang.org/genproto v0.0.0-20240410155749-daa745c078e1 h1:KpwkzHKEF7B9Zxg18WzOa7djJ+Ha5DzthMyZYQfEn2A= +google.golang.org/genproto v0.0.0-20240410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU= google.golang.org/grpc v1.56.3 h1:8I4C0Yq1EjstUzUJzpcRVbuYA2mODtEmpWiQoN/b2nc= google.golang.org/grpc v1.56.3/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= diff --git a/main.go b/main.go index 92a58e0..bcff75f 100644 --- a/main.go +++ b/main.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // // This program is free software: you can redistribute it and/or modify @@ -19,6 +19,7 @@ package main import ( "errors" "os" + "pb/cmd" "pb/pkg/config" diff --git a/pkg/config/config.go b/pkg/config/config.go index bb49b33..c867124 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // // This program is free software: you can redistribute it and/or modify diff --git a/pkg/iterator/iterator.go b/pkg/iterator/iterator.go index f9e02a1..b22915e 100644 --- a/pkg/iterator/iterator.go +++ b/pkg/iterator/iterator.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // // This program is free software: you can redistribute it and/or modify diff --git a/pkg/iterator/iterator_test.go b/pkg/iterator/iterator_test.go index 5498e61..0024ae1 100644 --- a/pkg/iterator/iterator_test.go +++ b/pkg/iterator/iterator_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // // This program is free software: you can redistribute it and/or modify diff --git a/pkg/model/button/button.go b/pkg/model/button/button.go index 59adab3..a28a598 100644 --- a/pkg/model/button/button.go +++ b/pkg/model/button/button.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/model/credential/credential.go b/pkg/model/credential/credential.go index a601a2e..66a3eaf 100644 --- a/pkg/model/credential/credential.go +++ b/pkg/model/credential/credential.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // // This program is free software: you can redistribute it and/or modify @@ -17,9 +17,10 @@ package credential import ( - "pb/pkg/model/button" "strings" + "pb/pkg/model/button" + "github.com/charmbracelet/bubbles/textinput" tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" diff --git a/pkg/model/defaultprofile/profile.go b/pkg/model/defaultprofile/profile.go index 0106806..2f8e168 100644 --- a/pkg/model/defaultprofile/profile.go +++ b/pkg/model/defaultprofile/profile.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -18,6 +18,7 @@ package defaultprofile import ( "fmt" "io" + "pb/pkg/config" "github.com/charmbracelet/bubbles/list" diff --git a/pkg/model/query.go b/pkg/model/query.go index 3c0a7f0..03389eb 100644 --- a/pkg/model/query.go +++ b/pkg/model/query.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // // This program is free software: you can redistribute it and/or modify @@ -23,12 +23,13 @@ import ( "math" "net/http" "os" - "pb/pkg/config" - "pb/pkg/iterator" "strings" "sync" "time" + "pb/pkg/config" + "pb/pkg/iterator" + "github.com/charmbracelet/bubbles/help" "github.com/charmbracelet/bubbles/key" "github.com/charmbracelet/bubbles/textarea" diff --git a/pkg/model/role/role.go b/pkg/model/role/role.go index 0949c7f..9202fba 100644 --- a/pkg/model/role/role.go +++ b/pkg/model/role/role.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // // This program is free software: you can redistribute it and/or modify @@ -18,9 +18,10 @@ package role import ( "fmt" + "strings" + "pb/pkg/model/button" "pb/pkg/model/selection" - "strings" "github.com/charmbracelet/bubbles/textinput" tea "github.com/charmbracelet/bubbletea" diff --git a/pkg/model/selection/selection.go b/pkg/model/selection/selection.go index cad26df..eefb60b 100644 --- a/pkg/model/selection/selection.go +++ b/pkg/model/selection/selection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // // This program is free software: you can redistribute it and/or modify diff --git a/pkg/model/status.go b/pkg/model/status.go index d9a8e7b..129244f 100644 --- a/pkg/model/status.go +++ b/pkg/model/status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // // This program is free software: you can redistribute it and/or modify diff --git a/pkg/model/timeinput.go b/pkg/model/timeinput.go index 98f6f05..4627fc7 100644 --- a/pkg/model/timeinput.go +++ b/pkg/model/timeinput.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // // This program is free software: you can redistribute it and/or modify @@ -18,9 +18,10 @@ package model import ( "fmt" - "pb/pkg/model/datetime" "time" + "pb/pkg/model/datetime" + "github.com/charmbracelet/bubbles/key" "github.com/charmbracelet/bubbles/list" tea "github.com/charmbracelet/bubbletea" diff --git a/pkg/model/timerange.go b/pkg/model/timerange.go index 2fb7e70..b77337c 100644 --- a/pkg/model/timerange.go +++ b/pkg/model/timerange.go @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Cloudnatively Services Pvt Ltd +// Copyright (c) 2024 Parseable, Inc // // // This program is free software: you can redistribute it and/or modify