latest
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jeffrey Paul 2024-05-22 14:25:35 -07:00
parent 7df558d8d0
commit 01bffc8388
10 changed files with 14 additions and 11 deletions

View File

@ -3,7 +3,7 @@ package main
import ( import (
"os" "os"
"git.eeqj.de/sneak/mfer/internal/cli" "sneak.berlin/go/mfer/internal/cli"
) )
var ( var (

2
go.mod
View File

@ -1,4 +1,4 @@
module git.eeqj.de/sneak/mfer module sneak.berlin/go/mfer
go 1.17 go 1.17

View File

@ -4,9 +4,9 @@ import (
"bytes" "bytes"
"path/filepath" "path/filepath"
"git.eeqj.de/sneak/mfer/internal/log"
"git.eeqj.de/sneak/mfer/mfer"
"github.com/urfave/cli/v2" "github.com/urfave/cli/v2"
"sneak.berlin/go/mfer/internal/log"
"sneak.berlin/go/mfer/mfer"
) )
func (mfa *CLIApp) generateManifestOperation(ctx *cli.Context) error { func (mfa *CLIApp) generateManifestOperation(ctx *cli.Context) error {

View File

@ -5,8 +5,8 @@ import (
"os" "os"
"time" "time"
"git.eeqj.de/sneak/mfer/internal/log"
"github.com/urfave/cli/v2" "github.com/urfave/cli/v2"
"sneak.berlin/go/mfer/internal/log"
) )
type CLIApp struct { type CLIApp struct {

View File

@ -6,9 +6,9 @@ import (
"errors" "errors"
"io" "io"
"git.eeqj.de/sneak/mfer/internal/bork"
"git.eeqj.de/sneak/mfer/internal/log"
"google.golang.org/protobuf/proto" "google.golang.org/protobuf/proto"
"sneak.berlin/go/mfer/internal/bork"
"sneak.berlin/go/mfer/internal/log"
) )
func (m *manifest) validateProtoOuter() error { func (m *manifest) validateProtoOuter() error {

View File

@ -4,8 +4,8 @@ import (
"bytes" "bytes"
"testing" "testing"
"git.eeqj.de/sneak/mfer/internal/log"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"sneak.berlin/go/mfer/internal/log"
) )
func TestAPIExample(t *testing.T) { func TestAPIExample(t *testing.T) {

View File

@ -10,8 +10,8 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"git.eeqj.de/sneak/mfer/internal/log"
"github.com/spf13/afero" "github.com/spf13/afero"
"sneak.berlin/go/mfer/internal/log"
) )
type manifestFile struct { type manifestFile struct {

3
mfer/mf.go Normal file
View File

@ -0,0 +1,3 @@
package mfer
//go:generate protoc ./mf.proto --go_out=paths=source_relative:.

View File

@ -5,9 +5,9 @@ import (
"fmt" "fmt"
"testing" "testing"
"git.eeqj.de/sneak/mfer/internal/log"
"github.com/spf13/afero" "github.com/spf13/afero"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"sneak.berlin/go/mfer/internal/log"
) )
// Add those variables as well // Add those variables as well

View File

@ -10,7 +10,7 @@ import (
"google.golang.org/protobuf/proto" "google.golang.org/protobuf/proto"
) )
//go:generate protoc --go_out=. --go_opt=paths=source_relative mf.proto // was go-generate protoc --go_out=. --go_opt=paths=source_relative mf.proto
// rot13("MANIFEST") // rot13("MANIFEST")
const MAGIC string = "ZNAVSRFG" const MAGIC string = "ZNAVSRFG"