packindex: removed dead code
package packindex
import (
- "encoding/json"
"time"
)
@@ -21,8 +20,3 @@ type Info struct {
func (i Info) Timestamp() time.Time {
return time.Unix(i.TimestampSeconds, 0)
}
-
-func (i Info) String() string {
- b, _ := json.Marshal(i)
- return string(b)
-}
