package main import "view/service" // GitAnalyzer 是 service.GitService 的兼容别名。 type GitAnalyzer = service.GitService func shortHash(s string) string { return service.ShortHash(s) }