Skip to content

Commit 0b8aea5

Browse files
author
Will
committed
watcher-go: move go.mod to the top level, hopefully making this repo a regular Go package
1 parent 032852f commit 0b8aea5

4 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/watcher-go.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ jobs:
3535
sudo cmake --install build
3636
- if: matrix.os == 'ubuntu-latest'
3737
run: sudo ldconfig
38-
- run: go test -race -v -timeout 30s
39-
working-directory: watcher-go
38+
- run: go test -race -v -timeout 30s ./watcher-go
4039
- uses: golangci/golangci-lint-action@v9
4140
with:
4241
version: latest

go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/e-dant/watcher
2+
3+
go 1.25.4

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Conan Center](https://img.shields.io/conan/v/watcher)](https://conan.io/center/recipes/watcher)
44
[![Rust/Cargo Crate](https://img.shields.io/crates/v/wtr-watcher.svg)](https://crates.io/crates/wtr-watcher)
55
[![PyPI/Pip Package](https://badge.fury.io/py/wtr-watcher.svg)](https://badge.fury.io/py/wtr-watcher)
6-
[![Go Module](https://pkg.go.dev/badge/github.com/e-dant/watcher-go.svg)](https://pkg.go.dev/github.com/e-dant/watcher-go)
6+
[![Go Module](https://pkg.go.dev/badge/github.com/e-dant/watcher/watcher-go.svg)](https://pkg.go.dev/github.com/e-dant/watcher/watcher-go)
77
[![Homebrew package](https://repology.org/badge/version-for-repo/homebrew/wtr-watcher.svg)](https://repology.org/project/wtr-watcher/versions)
88
[![nixpkgs stable 25.05 package](https://repology.org/badge/version-for-repo/nix_stable_25_05/wtr-watcher.svg)](https://repology.org/project/wtr-watcher/versions)
99
[![nixpkgs unstable package](https://repology.org/badge/version-for-repo/nix_unstable/wtr-watcher.svg)](https://repology.org/project/wtr-watcher/versions)
@@ -156,7 +156,7 @@ import (
156156
"fmt"
157157
"log/slog"
158158

159-
"github.com/e-dant/watcher-go"
159+
"github.com/e-dant/watcher/watcher-go"
160160
)
161161

162162
func main() {

watcher-go/go.mod

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)