add: log parser exercises

This commit is contained in:
Inanc Gumus
2019-04-12 16:55:26 +03:00
parent 9fb22f7fa9
commit 44b6a26001
13 changed files with 250 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
// For more tutorials: https://blog.learngoprogramming.com
//
// Copyright © 2018 Inanc Gumus
// Learn Go Programming Course
// License: https://creativecommons.org/licenses/by-nc-sa/4.0/
//
package main
import (
"bufio"
"fmt"
"os"
"strings"
)
func main() {
in := bufio.NewScanner(os.Stdin)
for in.Scan() {
fmt.Println(strings.ToUpper(in.Text()))
}
}