status-go/vendor/github.com/go-ole/go-ole
Boris Melnik 6d77fb771a
fix(windows-build): Remove free space check for archives (#4485)
2023-12-20 21:21:02 +03:00
..
oleutil Upgrade go-ens 2021-07-20 10:57:38 +02:00
.travis.yml Upgrade go-ens 2021-07-20 10:57:38 +02:00
ChangeLog.md Upgrade go-ens 2021-07-20 10:57:38 +02:00
LICENSE Upgrade go-ens 2021-07-20 10:57:38 +02:00
README.md Upgrade go-ens 2021-07-20 10:57:38 +02:00
appveyor.yml Upgrade go-ens 2021-07-20 10:57:38 +02:00
com.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
com_func.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
connect.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
constants.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
error.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
error_func.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
error_windows.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
guid.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
iconnectionpoint.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
iconnectionpoint_func.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
iconnectionpoint_windows.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
iconnectionpointcontainer.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
iconnectionpointcontainer_func.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
iconnectionpointcontainer_windows.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
idispatch.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
idispatch_func.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
idispatch_windows.go fix(windows-build): Remove free space check for archives (#4485) 2023-12-20 21:21:02 +03:00
ienumvariant.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
ienumvariant_func.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
ienumvariant_windows.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
iinspectable.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
iinspectable_func.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
iinspectable_windows.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
iprovideclassinfo.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
iprovideclassinfo_func.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
iprovideclassinfo_windows.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
itypeinfo.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
itypeinfo_func.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
itypeinfo_windows.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
iunknown.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
iunknown_func.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
iunknown_windows.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
ole.go fix(windows-build): Remove free space check for archives (#4485) 2023-12-20 21:21:02 +03:00
safearray.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
safearray_func.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
safearray_windows.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
safearrayconversion.go fix(windows-build): Remove free space check for archives (#4485) 2023-12-20 21:21:02 +03:00
safearrayslices.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
utility.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
variables.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
variant.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
variant_386.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
variant_amd64.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
variant_arm.go fix(windows-build): Remove free space check for archives (#4485) 2023-12-20 21:21:02 +03:00
variant_arm64.go fix(windows-build): Remove free space check for archives (#4485) 2023-12-20 21:21:02 +03:00
variant_date_386.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
variant_date_amd64.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
variant_date_arm.go fix(windows-build): Remove free space check for archives (#4485) 2023-12-20 21:21:02 +03:00
variant_date_arm64.go fix(windows-build): Remove free space check for archives (#4485) 2023-12-20 21:21:02 +03:00
variant_ppc64le.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
variant_s390x.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
vt_string.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
winrt.go Upgrade go-ens 2021-07-20 10:57:38 +02:00
winrt_doc.go Upgrade go-ens 2021-07-20 10:57:38 +02: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