()
| 129 | } |
| 130 | |
| 131 | func main() { |
| 132 | session.Log.Info("%s v%s started. Loaded %d signatures. Using %d threads. Work dir: %s", core.Name, core.Version, len(session.Signatures), *session.Options.Threads, *session.Options.TempDirectory) |
| 133 | |
| 134 | if *session.Options.SearchQuery != "" { |
| 135 | session.Log.Important("Search Query '%s' given. Only returning matching results.", *session.Options.SearchQuery) |
| 136 | } |
| 137 | |
| 138 | go core.GetRepositories(session) |
| 139 | go ProcessRepositories() |
| 140 | |
| 141 | if *session.Options.ProcessGists { |
| 142 | go core.GetGists(session) |
| 143 | go ProcessGists() |
| 144 | } |
| 145 | |
| 146 | session.Log.Info("Press Ctrl+C to stop and exit.\n") |
| 147 | select {} |
| 148 | } |
nothing calls this directly
no test coverage detected