Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/scorpionknifes/gogrep

Implementing pattern search while learning goroutines, chan, testing
https://github.com/scorpionknifes/gogrep

Last synced: about 24 hours ago
JSON representation

Implementing pattern search while learning goroutines, chan, testing

Awesome Lists containing this project

README

        

# gogrep

[![Go Report Card](https://goreportcard.com/badge/github.com/scorpionknifes/gogrep)](https://goreportcard.com/report/github.com/scorpionknifes/gogrep) ![gopherbadger-tag-do-not-edit](https://img.shields.io/badge/Go%20Coverage-96%25-brightgreen.svg?longCache=true&style=flat)

Command line tool to search patterns inside a directory

## Features

- Multiple goroutine support
- Regex pattern matching with multiline matching
- Respects gitignore

## Usage

```bash
# Pattern
gogrep PATTERN [PATH]

# Examples
gogrep helloworld
gogrep helloworld .
gogrep "hello world" ./data
```