fix swayipc version and dependencies

This commit is contained in:
2025-12-05 21:04:16 +01:00
parent bf7b3698d5
commit 7b9f0a3aae
3 changed files with 10 additions and 1 deletions

5
go.mod
View File

@@ -1,3 +1,8 @@
module sway-descratch
go 1.23.5
require (
codeberg.org/scip/swayipc/v2 v2.0.0-test1
github.com/alecthomas/repr v0.5.2
)

4
go.sum Normal file
View File

@@ -0,0 +1,4 @@
codeberg.org/scip/swayipc/v2 v2.0.0-test1 h1:F4tOtE0gvxoh4mWQbV2+rG55cVJsCtkD5YME/6qxjqw=
codeberg.org/scip/swayipc/v2 v2.0.0-test1/go.mod h1:F+rmNQ+NjLDr8fU7HW/jSjiUIXeYfQ1cSyBiGByhoWI=
github.com/alecthomas/repr v0.5.2 h1:SU73FTI9D1P5UNtvseffFSGmdNci/O6RsqzeXJtP0Qs=
github.com/alecthomas/repr v0.5.2/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4=

View File

@@ -24,8 +24,8 @@ import (
"os"
"strconv"
"codeberg.org/scip/swayipc/v2"
"github.com/alecthomas/repr"
"codeberg.org/scip/swayipc"
)
func main() {