mirror of
https://github.com/wneessen/logranger.git
synced 2024-12-22 18:10:39 +01:00
Update module references in various files
Module references within 'go.mod', 'main.go', and various plugin files have been changed from 'github.com/wneessen/logranger' to 'src.neessen.cloud/wneessen/logranger'. This update is essential to align with the new source location and ensure code and plugins function as expected. The Dockerfile’s commands have also been updated accordingly.
This commit is contained in:
parent
79fbd4b7db
commit
a20b6c64c6
7 changed files with 10 additions and 10 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
## Build first
|
||||
FROM golang:alpine AS builder
|
||||
RUN mkdir /builddir
|
||||
RUN mkdir /builddithur
|
||||
ADD cmd/ /builddir/cmd/
|
||||
ADD template/ /builddir/template
|
||||
ADD *.go /builddir/
|
||||
|
@ -17,7 +17,7 @@ RUN go mod download
|
|||
RUN go mod verify
|
||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -ldflags \
|
||||
'-w -s -extldflags "-static"' \
|
||||
-o /builddir/logranger github.com/wneessen/logranger/cmd/server
|
||||
-o /builddir/logranger src.neessen.cloud/wneessen/logranger/cmd/server
|
||||
|
||||
## Create scratch image
|
||||
FROM scratch
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
"path/filepath"
|
||||
"syscall"
|
||||
|
||||
"github.com/wneessen/logranger"
|
||||
"src.neessen.cloud/wneessen/logranger"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
2
go.mod
2
go.mod
|
@ -2,7 +2,7 @@
|
|||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
module github.com/wneessen/logranger
|
||||
module src.neessen.cloud/wneessen/logranger
|
||||
|
||||
go 1.21
|
||||
|
||||
|
|
|
@ -4,4 +4,4 @@
|
|||
|
||||
package all
|
||||
|
||||
import _ "github.com/wneessen/logranger/plugins/actions/file" // register plugin
|
||||
import _ "src.neessen.cloud/wneessen/logranger/plugins/actions/file" // register plugin
|
||||
|
|
|
@ -10,8 +10,8 @@ import (
|
|||
|
||||
"github.com/wneessen/go-parsesyslog"
|
||||
|
||||
"github.com/wneessen/logranger/plugins/actions"
|
||||
"github.com/wneessen/logranger/template"
|
||||
"src.neessen.cloud/wneessen/logranger/plugins/actions"
|
||||
"src.neessen.cloud/wneessen/logranger/template"
|
||||
)
|
||||
|
||||
// File represents a file action that can be performed on a log message.
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
package actions
|
||||
|
||||
import (
|
||||
"github.com/wneessen/logranger/plugins"
|
||||
"src.neessen.cloud/wneessen/logranger/plugins"
|
||||
)
|
||||
|
||||
// Actions is a variable that represents a map of string keys to Action values. The keys are used to identify different actions, and the corresponding values are the functions that define
|
||||
|
|
|
@ -19,8 +19,8 @@ import (
|
|||
_ "github.com/wneessen/go-parsesyslog/rfc3164"
|
||||
_ "github.com/wneessen/go-parsesyslog/rfc5424"
|
||||
|
||||
"github.com/wneessen/logranger/plugins/actions"
|
||||
_ "github.com/wneessen/logranger/plugins/actions/all"
|
||||
"src.neessen.cloud/wneessen/logranger/plugins/actions"
|
||||
_ "src.neessen.cloud/wneessen/logranger/plugins/actions/all"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
Loading…
Reference in a new issue