From 6ae875dfe5d01d536cf7db0b95690f9696b1c0d6 Mon Sep 17 00:00:00 2001 From: rdonah204_comcast Date: Tue, 20 Jan 2026 09:51:30 -0500 Subject: [PATCH] updating the go version in go.mod and the github workflow to pull from go.mod for building in actions --- .github/workflows/go.yml | 2 +- go.mod | 4 +++- lib/processor/processor.go | 6 ++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0b443f3..dfa61d3 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-file: 'go.mod' - name: Build run: go build -v ./... diff --git a/go.mod b/go.mod index 0fc2781..76439b5 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module squatrr -go 1.24.9 +go 1.24.0 + +toolchain go1.24.9 require ( golang.org/x/net v0.48.0 diff --git a/lib/processor/processor.go b/lib/processor/processor.go index 95af6c9..23fe1c4 100644 --- a/lib/processor/processor.go +++ b/lib/processor/processor.go @@ -1 +1,7 @@ package processor + +// TODO: This is where the actual processing code from main.go should reside +// TODO: implement and then move main.go to cli.go in a new directory +func ProcessDomain() { + +}