Commits

Alec Thomas committed a8ba31d

- Switch to sort.Strings()
- Add Makefile.
- Use fmt.Println() as println now writes to stderr.

Comments (0)

Files changed (2)

+include $(GOROOT)/src/Make.inc
+
+TARG=gotags
+GOFILES=gotags.go
+
+include $(GOROOT)/src/Make.cmd
 func main() {
 	parse_files()
 
-	println("!_TAG_FILE_SORTED\t1\t")
-	sort.SortStrings(tags)
+	fmt.Println("!_TAG_FILE_SORTED\t1\t")
+	sort.Strings(tags)
 	for _, s := range tags {
-		println(s)
+		fmt.Println(s)
 	}
 }