open-nomad/vendor/github.com/go-ole/go-ole
Seth Hoenig 435c0d9fc8 deps: Switch to Go modules for dependency management
This PR switches the Nomad repository from using govendor to Go modules
for managing dependencies. Aspects of the Nomad workflow remain pretty
much the same. The usual Makefile targets should continue to work as
they always did. The API submodule simply defers to the parent Nomad
version on the repository, keeping the semantics of API versioning that
currently exists.
2020-06-02 14:30:36 -05:00
..
oleutil deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
.travis.yml deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
appveyor.yml deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
ChangeLog.md Update gopsutil (#2927) 2017-07-28 09:46:44 -07:00
com.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
com_func.go Using godeps to build 2016-02-12 10:02:16 -08:00
connect.go Using godeps to build 2016-02-12 10:02:16 -08:00
constants.go Using godeps to build 2016-02-12 10:02:16 -08:00
error.go Using godeps to build 2016-02-12 10:02:16 -08:00
error_func.go Using godeps to build 2016-02-12 10:02:16 -08:00
error_windows.go Using godeps to build 2016-02-12 10:02:16 -08:00
guid.go Update github.com/go-ole/go-ole and remove a bit of cruft. 2017-02-01 22:51:03 -08:00
iconnectionpoint.go Using godeps to build 2016-02-12 10:02:16 -08:00
iconnectionpoint_func.go Using godeps to build 2016-02-12 10:02:16 -08:00
iconnectionpoint_windows.go Using godeps to build 2016-02-12 10:02:16 -08:00
iconnectionpointcontainer.go Using godeps to build 2016-02-12 10:02:16 -08:00
iconnectionpointcontainer_func.go Using godeps to build 2016-02-12 10:02:16 -08:00
iconnectionpointcontainer_windows.go Using godeps to build 2016-02-12 10:02:16 -08:00
idispatch.go Using godeps to build 2016-02-12 10:02:16 -08:00
idispatch_func.go Using godeps to build 2016-02-12 10:02:16 -08:00
idispatch_windows.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
ienumvariant.go Using godeps to build 2016-02-12 10:02:16 -08:00
ienumvariant_func.go Using godeps to build 2016-02-12 10:02:16 -08:00
ienumvariant_windows.go Using godeps to build 2016-02-12 10:02:16 -08:00
iinspectable.go Using godeps to build 2016-02-12 10:02:16 -08:00
iinspectable_func.go Using godeps to build 2016-02-12 10:02:16 -08:00
iinspectable_windows.go Update github.com/go-ole/go-ole and remove a bit of cruft. 2017-02-01 22:51:03 -08:00
iprovideclassinfo.go Using godeps to build 2016-02-12 10:02:16 -08:00
iprovideclassinfo_func.go Using godeps to build 2016-02-12 10:02:16 -08:00
iprovideclassinfo_windows.go Using godeps to build 2016-02-12 10:02:16 -08:00
itypeinfo.go Using godeps to build 2016-02-12 10:02:16 -08:00
itypeinfo_func.go Using godeps to build 2016-02-12 10:02:16 -08:00
itypeinfo_windows.go Using godeps to build 2016-02-12 10:02:16 -08:00
iunknown.go Using godeps to build 2016-02-12 10:02:16 -08:00
iunknown_func.go Using godeps to build 2016-02-12 10:02:16 -08:00
iunknown_windows.go Using godeps to build 2016-02-12 10:02:16 -08:00
LICENSE deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
ole.go Update gopsutil (#2927) 2017-07-28 09:46:44 -07:00
README.md Update gopsutil (#2927) 2017-07-28 09:46:44 -07:00
safearray.go Using godeps to build 2016-02-12 10:02:16 -08:00
safearray_func.go Update github.com/go-ole/go-ole and remove a bit of cruft. 2017-02-01 22:51:03 -08:00
safearray_windows.go Using godeps to build 2016-02-12 10:02:16 -08:00
safearrayconversion.go Using godeps to build 2016-02-12 10:02:16 -08:00
safearrayslices.go Using godeps to build 2016-02-12 10:02:16 -08:00
utility.go Using godeps to build 2016-02-12 10:02:16 -08:00
variables.go Using godeps to build 2016-02-12 10:02:16 -08:00
variant.go Using godeps to build 2016-02-12 10:02:16 -08:00
variant_386.go Using godeps to build 2016-02-12 10:02:16 -08:00
variant_amd64.go Using godeps to build 2016-02-12 10:02:16 -08:00
variant_s390x.go Update gopsutil (#2927) 2017-07-28 09:46:44 -07:00
vt_string.go Using godeps to build 2016-02-12 10:02:16 -08:00
winrt.go Using godeps to build 2016-02-12 10:02:16 -08:00
winrt_doc.go Using godeps to build 2016-02-12 10:02:16 -08:00

#Go OLE

Build status Build Status GoDoc

Go bindings for Windows COM using shared libraries instead of cgo.

By Yasuhiro Matsumoto.

Install

To experiment with go-ole, you can just compile and run the example program:

go get github.com/go-ole/go-ole
cd /path/to/go-ole/
go test

cd /path/to/go-ole/example/excel
go run excel.go

Continuous Integration

Continuous integration configuration has been added for both Travis-CI and AppVeyor. You will have to add these to your own account for your fork in order for it to run.

Travis-CI

Travis-CI was added to check builds on Linux to ensure that go get works when cross building. Currently, Travis-CI is not used to test cross-building, but this may be changed in the future. It is also not currently possible to test the library on Linux, since COM API is specific to Windows and it is not currently possible to run a COM server on Linux or even connect to a remote COM server.

AppVeyor

AppVeyor is used to build on Windows using the (in-development) test COM server. It is currently only used to test the build and ensure that the code works on Windows. It will be used to register a COM server and then run the test cases based on the test COM server.

The tests currently do run and do pass and this should be maintained with commits.

##Versioning

Go OLE uses semantic versioning for version numbers, which is similar to the version contract of the Go language. Which means that the major version will always maintain backwards compatibility with minor versions. Minor versions will only add new additions and changes. Fixes will always be in patch.

This contract should allow you to upgrade to new minor and patch versions without breakage or modifications to your existing code. Leave a ticket, if there is breakage, so that it could be fixed.

##LICENSE

Under the MIT License: http://mattn.mit-license.org/2013