Asynchronous analysis of text in files to determine language. Based on lingua-go library
The project is designed to demonstrate working with goroutines, channels. Also such synchronization primitive as WaitGroup was used.
You can install Golang there
- Clone repository
- In main directory:
go build\
//for windows
backendproj.exe
//for linux
./backendproj
The program can work in synchronous and asynchronous mode (depending on the flag). The program can also read not files in the directory, but a specific file. Flags:
-fpath string
file path
-path string
folder path (default "assets")
-sync
choose sync mode