Sha256: d084611852fe4fafd80ebfcbe1d12862dac6898526fe992cb6efeb70a5d07d1f

Contents?: true

Size: 377 Bytes

Versions: 83

Compression:

Stored size: 377 Bytes

Contents

## Implementation

In package grep, Define a single Go func, Search, which accepts a pattern string,
a slice of flags which are strings, and a slice of filename strings.
Search should return a slice of strings of the output for
the given flags and filenames.

Use the following signature for func Search:

```
func Search(pattern string, flags, files []string) []string {
```

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/go/exercises/grep/.meta/hints.md
trackler-2.2.1.179 tracks/go/exercises/grep/.meta/hints.md
trackler-2.2.1.178 tracks/go/exercises/grep/.meta/hints.md
trackler-2.2.1.177 tracks/go/exercises/grep/.meta/hints.md
trackler-2.2.1.176 tracks/go/exercises/grep/.meta/hints.md
trackler-2.2.1.175 tracks/go/exercises/grep/.meta/hints.md
trackler-2.2.1.174 tracks/go/exercises/grep/.meta/hints.md
trackler-2.2.1.173 tracks/go/exercises/grep/.meta/hints.md
trackler-2.2.1.172 tracks/go/exercises/grep/.meta/hints.md
trackler-2.2.1.171 tracks/go/exercises/grep/.meta/hints.md
trackler-2.2.1.170 tracks/go/exercises/grep/.meta/hints.md
trackler-2.2.1.169 tracks/go/exercises/grep/.meta/hints.md
trackler-2.2.1.167 tracks/go/exercises/grep/.meta/hints.md
trackler-2.2.1.166 tracks/go/exercises/grep/.meta/hints.md
trackler-2.2.1.165 tracks/go/exercises/grep/.meta/hints.md
trackler-2.2.1.164 tracks/go/exercises/grep/.meta/hints.md
trackler-2.2.1.163 tracks/go/exercises/grep/.meta/hints.md
trackler-2.2.1.162 tracks/go/exercises/grep/.meta/hints.md
trackler-2.2.1.161 tracks/go/exercises/grep/.meta/hints.md
trackler-2.2.1.160 tracks/go/exercises/grep/.meta/hints.md