This commit is contained in:
softland 2018-10-09 01:51:06 +03:00
Родитель 2db6777e1d
Коммит 1227bbe9c0
2 изменённых файлов: 15 добавлений и 10 удалений

4
Makefile Normal file
Просмотреть файл

@ -0,0 +1,4 @@
PACKAGE := $(shell go list)
GOOS := $(shell go env GOOS)
GOARCH = $(shell go env GOARCH)
OBJ_DIR := $(GOPATH)/pkg/$(GOOS)_$(GOARCH)/$(PACKAGE)

Просмотреть файл

@ -1,14 +1,15 @@
golang library get AutoCAD parameters
1/ func IsAutocadInstalled() bool
//IsAutocadInstalled Checks installed in system any version of AutoCAD
// return true if installed,
// return false if not istalled
// use const _REG_PATH_ACAD_ == `Software\Autodesk\AutoCAD`
functions:
1. func IsAutocadInstalled() bool
IsAutocadInstalled Checks installed in system any version of AutoCAD
return true if installed,
return false if not istalled
use const _REG_PATH_ACAD_ == `Software\Autodesk\AutoCAD`
2/ func ReleaseAutocadInstalled() string
//ReleaseAutocadInstalled return string with release of AutoCAD installer in system
//return "-" if Autocad not installed
2. func ReleaseAutocadInstalled() string
ReleaseAutocadInstalled return string with release of AutoCAD installer in system
return "-" if Autocad not installed
3/ func PathAutocadLogFile() string
//PathAutocadLogFile - return string to path of log file
3. func PathAutocadLogFile() string
PathAutocadLogFile - return string to path of log file