Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pacodw/devicentask
https://github.com/pacodw/devicentask
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/pacodw/devicentask
- Owner: PacoDw
- Created: 2020-08-06T19:12:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-07T03:20:35.000Z (over 4 years ago)
- Last Synced: 2024-10-02T13:41:16.659Z (about 2 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# deviceNTask
Basic usage is just to import the library as the following example:
```go
import (
"log""github.com/PacoDw/deviceNTask/dnt"
)func main() {
if err := dnt.CreateOptimalConfigurationFile("challenge.in"); err != nil {
log.Fatal(err)
}
}
```If you want to run the current example, clone the repository and once you are in the folder project open the terminal and write the following command to run it:
```bash
$ go run main.go
```
And the `challenge.out` file will generate will the resultsNote: you need the file `challenge.in` in order to work fine