From 11ea43714d0d38178bd2db912c85a9b802c956dd Mon Sep 17 00:00:00 2001 From: blob42 Date: Fri, 11 Oct 2024 18:35:59 +0200 Subject: [PATCH] chore[ci]: comment plugin --- .github/workflows/go.yml | 2 +- cmd/gosuki/main.go | 4 ++-- cmd/suki/suki.go | 26 ++++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 cmd/suki/suki.go diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 59a92e4..b79ad2b 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.23' - name: Build run: make diff --git a/cmd/gosuki/main.go b/cmd/gosuki/main.go index 635edab..94d0315 100644 --- a/cmd/gosuki/main.go +++ b/cmd/gosuki/main.go @@ -37,9 +37,9 @@ import ( // Load firefox browser modules _ "github.com/blob42/gosuki/browsers/firefox" // Load chrome browser module - // _ "github.com/blob42/gosuki/browsers/chrome" + _ "github.com/blob42/gosuki/browsers/chrome" // github module - _ "gosuki/mod-gh-stars" + // _ "gosuki/mod-gh-stars" ) var log = logging.GetLogger("MAIN") diff --git a/cmd/suki/suki.go b/cmd/suki/suki.go new file mode 100644 index 0000000..8b1ae4b --- /dev/null +++ b/cmd/suki/suki.go @@ -0,0 +1,26 @@ +// Copyright (c) 2024 Chakib Ben Ziane and [`gosuki` contributors](https://github.com/blob42/gosuki/graphs/contributors). +// All rights reserved. +// +// SPDX-License-Identifier: AGPL-3.0-or-later +// +// This file is part of GoSuki. +// +// GoSuki is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// GoSuki is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with gosuki. If not, see . +package main + +import "fmt" + +func main() { + fmt.Println("suki bookmark cli!") +}