Browse Source

Initialize Go project

master
Riyyi 5 days ago
parent
commit
cb3936c42a
  1. 32
      .gitignore
  2. 9
      README.md
  3. 6
      docs/AI.md
  4. 16
      docs/LINKS.md
  5. 9
      go.mod
  6. 6
      go.sum

32
.gitignore vendored

@ -0,0 +1,32 @@
# If you prefer the allow list template instead of the deny list, see community template:
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
#
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c`
*.test
# Code coverage profiles and other test artifacts
*.out
coverage.*
*.coverprofile
profile.cov
# Dependency directories (remove the comment below to include it)
# vendor/
# Go workspace file
go.work
go.work.sum
# env file
.env
# Editor/IDE
# .idea/
# .vscode/

9
README.md

@ -0,0 +1,9 @@
# declpac
`declpac` syncs a declarative package list with the `pacman` package manager.
## Building
### Dependencies
- go

6
docs/AI.md

@ -0,0 +1,6 @@
# AI Usage
<!-- This document is for human consumption, skip if you're an AI -->
First start the background process with `ollama serve`.
Then open `opencode` run the command `ollama launch opencode`.

16
docs/LINKS.md

@ -0,0 +1,16 @@
https://wiki.archlinux.org/title/Alpm_based_tools
https://github.com/andrewgregory/pacutils - C
YaY
https://github.com/Jguer/yay
https://github.com/Jguer/dyalpm - Go libalpm
https://github.com/Jguer/go-alpm - Go alpm
https://github.com/Jguer/aur
https://aur.archlinux.org/rpc/swagger
/usr/lib/libalpm.so.16.0.1
/usr/lib/libalpm.so
/usr/lib/libalpm.so.16

9
go.mod

@ -0,0 +1,9 @@
module github.com/Riyyi/declpac
go 1.26.2
require (
github.com/Jguer/aur v1.3.0 // indirect
github.com/Jguer/dyalpm v0.1.2 // indirect
github.com/ebitengine/purego v0.10.0 // indirect
)

6
go.sum

@ -0,0 +1,6 @@
github.com/Jguer/aur v1.3.0 h1:skdjp/P9kB75TBaJmn9PKK/kCeA9QsgjdUrORZ3gldU=
github.com/Jguer/aur v1.3.0/go.mod h1:F8Awo+WKzTxlXtNOO4pDQjMkePLZ+oMSbu+1fKLTTLo=
github.com/Jguer/dyalpm v0.1.2 h1:Gl0+GDWBQmo3DSsfzTPnKqCwYqcroq0j6kAtsIUkpUw=
github.com/Jguer/dyalpm v0.1.2/go.mod h1:FpcWwU1eYHVWMKmr/yHFqHYKsS+qGKCtk/FIXirj2MY=
github.com/ebitengine/purego v0.10.0 h1:QIw4xfpWT6GWTzaW5XEKy3HXoqrJGx1ijYHzTF0/ISU=
github.com/ebitengine/purego v0.10.0/go.mod h1:iIjxzd6CiRiOG0UyXP+V1+jWqUXVjPKLAI0mRfJZTmQ=
Loading…
Cancel
Save