Skip to content

Module for Go language wich provides methods to work with text files

License

Notifications You must be signed in to change notification settings

pkondratev/TFileGo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

TFileGo

Module for Go language wich provides methods to work with text files

Documentation:

install:

go get github.com/BobbyKitten/TFileGo

Import:

import "github.com/BobbyKitten/TFileGo"

Example:

Read all lines from file:

package main

import (
  "TFileGo"
  "fmt"
)
func main() {
  file, err := TFileGo.OpenFile("text.txt", TFileGo.F_READ)
  if err != nil {
    panic(err)
  }
  lines := file.ReadLines()
  for _, line := range lines {
    fmt.Print(line)
  }
}

About

Module for Go language wich provides methods to work with text files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages