From 66791d940bc60d004835307a86dd98a14cbc9553 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sun, 31 Mar 2024 21:18:58 +0200 Subject: feat: Provide the all fields to be used format --- parser.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'parser.go') diff --git a/parser.go b/parser.go index 344efca..196dc94 100644 --- a/parser.go +++ b/parser.go @@ -1,7 +1,6 @@ package main import ( - "fmt" "strconv" "strings" "time" @@ -30,11 +29,6 @@ type ( } ) -func (e *Entry) FomartLink(format string) string { - c := strings.Replace(*e.Commit, "-dirty", "", -1) - return fmt.Sprintf(format, c, *e.Origin) -} - func (e *Entry) Properties() map[string]string { p := make(map[string]string) -- cgit v1.2.3