From e1e5f6db6b6e97ff14adca69cf607ccfd3dec60c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 10 Oct 2025 15:35:25 -0500 Subject: try to keep this package from having any GO deps --- README.md | 2 +- identify.go | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index aca241e..5a93ed1 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ // Copyright 2025 WIT.COM Inc Licensed GPL 3.0 -# Standard Template for a GO Library +Used to identify protobuf files (requires autogenpb) diff --git a/identify.go b/identify.go index 52f144f..618e34c 100644 --- a/identify.go +++ b/identify.go @@ -2,8 +2,6 @@ package filepb import ( "os" - - "go.wit.com/log" ) // print the protobuf in human form @@ -19,6 +17,6 @@ func IdentifyPB(filename string) (string, string, error) { if err := pb.Unmarshal(data); err != nil { return "", "", err } - log.Info("Identify protobuf file uuid =", pb.Uuid, "version =", pb.Version) + // log.Info("Identify protobuf file uuid =", pb.Uuid, "version =", pb.Version) return pb.Uuid, pb.Version, nil } -- cgit v1.2.3