From 872afd97e87f3e23a7b73e75f55bb8641f15463b Mon Sep 17 00:00:00 2001 From: sina Date: Fri, 28 Oct 2022 03:00:24 +0330 Subject: rename repo --- Readme.md | 14 +++++++------- erros.txt | 2 +- go.mod | 2 +- main.go | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Readme.md b/Readme.md index 7ebce9e..7e73bdb 100644 --- a/Readme.md +++ b/Readme.md @@ -7,19 +7,19 @@ in order to compile and run this project you need to install [go compiler](https after that run `go build` in project directory to compile brline binary ``` -# git clone https://git.snix.ir/brline -# cd brline && go build -# ./brline +# git clone https://git.snix.ir/brlines +# cd brlines && go build +# ./brlines ``` ### how to use -use `./brline --help` to print help banner, you need to provide 2 points as start and end of the line +use `./brlines --help` to print help banner, you need to provide 2 points as start and end of the line each point has x and y coordinate, so for starting point you should use -xa and -ya flags and for ending point -xb and -yb ``` -# ./brline --help +# ./brlines --help usage of bresenham line simulator: -./brline options... +./brlines options... options: --pt named png file to save bresenham output @@ -32,7 +32,7 @@ options: --yb y coordinate of ending point example: - ./brline --pt mytest.png --xa 8 --ya 3 --xb 2 --yb 10 + ./brlines --pt mytest.png --xa 8 --ya 3 --xb 2 --yb 10 Copyright (c) 2022 snix.ir, All rights reserved. diff --git a/erros.txt b/erros.txt index f495d6d..38c4954 100644 --- a/erros.txt +++ b/erros.txt @@ -1 +1 @@ -./brline --xb 10 --yb 1 --xa 2 --ya 15 +./brlines --xb 10 --yb 1 --xa 2 --ya 15 diff --git a/go.mod b/go.mod index cc444d2..089150b 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module brline +module brlines go 1.19 diff --git a/main.go b/main.go index c631d00..7e0e129 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,7 @@ package main import ( - "brline/lines" + "brlines/lines" "flag" "fmt" "log" -- cgit v1.2.3