open-consul/vendor/github.com/go-ole/go-ole
Mike Morris 9ccb340893
chore: upgrade to gopsutil/v3 (#9118)
* deps: update golang.org/x/sys

* deps: update imports to gopsutil/v3

* chore: make update-vendor
2020-11-06 20:48:38 -05:00
..
oleutil Connect: allow configuring Envoy for L7 Observability (#5558) 2019-04-29 17:27:57 +01:00
.travis.yml chore: upgrade to gopsutil/v3 (#9118) 2020-11-06 20:48:38 -05:00
ChangeLog.md vendor: upgrade github.com/go-ole/go-ole 2017-06-01 16:05:24 +02:00
LICENSE Connect: allow configuring Envoy for L7 Observability (#5558) 2019-04-29 17:27:57 +01:00
README.md chore: upgrade to gopsutil/v3 (#9118) 2020-11-06 20:48:38 -05:00
appveyor.yml Connect: allow configuring Envoy for L7 Observability (#5558) 2019-04-29 17:27:57 +01:00
com.go chore: upgrade to gopsutil/v3 (#9118) 2020-11-06 20:48:38 -05:00
com_func.go chore: upgrade to gopsutil/v3 (#9118) 2020-11-06 20:48:38 -05:00
connect.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
constants.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
error.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
error_func.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
error_windows.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
go.mod chore: upgrade to gopsutil/v3 (#9118) 2020-11-06 20:48:38 -05:00
guid.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
iconnectionpoint.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
iconnectionpoint_func.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
iconnectionpoint_windows.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
iconnectionpointcontainer.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
iconnectionpointcontainer_func.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
iconnectionpointcontainer_windows.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
idispatch.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
idispatch_func.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
idispatch_windows.go chore: upgrade to gopsutil/v3 (#9118) 2020-11-06 20:48:38 -05:00
ienumvariant.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
ienumvariant_func.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
ienumvariant_windows.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
iinspectable.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
iinspectable_func.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
iinspectable_windows.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
iprovideclassinfo.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
iprovideclassinfo_func.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
iprovideclassinfo_windows.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
itypeinfo.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
itypeinfo_func.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
itypeinfo_windows.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
iunknown.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
iunknown_func.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
iunknown_windows.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
ole.go Connect: allow configuring Envoy for L7 Observability (#5558) 2019-04-29 17:27:57 +01:00
safearray.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
safearray_func.go chore: upgrade to gopsutil/v3 (#9118) 2020-11-06 20:48:38 -05:00
safearray_windows.go chore: upgrade to gopsutil/v3 (#9118) 2020-11-06 20:48:38 -05:00
safearrayconversion.go chore: upgrade to gopsutil/v3 (#9118) 2020-11-06 20:48:38 -05:00
safearrayslices.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
utility.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
variables.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
variant.go chore: upgrade to gopsutil/v3 (#9118) 2020-11-06 20:48:38 -05:00
variant_386.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
variant_amd64.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
variant_date_386.go chore: upgrade to gopsutil/v3 (#9118) 2020-11-06 20:48:38 -05:00
variant_date_amd64.go chore: upgrade to gopsutil/v3 (#9118) 2020-11-06 20:48:38 -05:00
variant_ppc64le.go chore: upgrade to gopsutil/v3 (#9118) 2020-11-06 20:48:38 -05:00
variant_s390x.go vendor: monkey patch github.com/go-ole/go-ole support for s390x 2017-06-01 15:31:29 +02:00
vt_string.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
winrt.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00
winrt_doc.go Add missing shirou/gopsutils vendor dependencies and files that were reverted 2017-02-01 10:26:00 -08:00

README.md

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