Skip to content

Commit

Permalink
Scaffold anonymizer
Browse files Browse the repository at this point in the history
  • Loading branch information
mpchadwick committed Mar 30, 2019
1 parent 2fa58cd commit 18afd2d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ package main

import "bufio"
import "fmt"
import "github.com/mpchadwick/dbanon/src"
import "os"

func main() {
reader := bufio.NewReader(os.Stdin)
for {
text, err := reader.ReadString('\n')
fmt.Print(text)
fmt.Print(anomymizer.Anonymize(text))

if err != nil {
break
Expand Down
5 changes: 5 additions & 0 deletions src/anonymizer.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package anomymizer

func Anonymize(s string) string {
return s
}

0 comments on commit 18afd2d

Please sign in to comment.