зеркало из https://github.com/softlandia/acadlib.git
add Makefile
This commit is contained in:
Родитель
2db6777e1d
Коммит
1227bbe9c0
|
@ -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)
|
21
README.md
21
README.md
|
@ -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
|
Загрузка…
Ссылка в новой задаче