You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-library/vendor/github.com/go-ole/go-ole
李光春 1099e35ff9
- update vendor
9 months ago
..
oleutil - update vendor 1 year ago
.travis.yml - update vendor 1 year ago
ChangeLog.md - update vendor 1 year ago
LICENSE - update vendor 1 year ago
README.md - update vendor 1 year ago
SECURITY.md - update vendor 9 months ago
appveyor.yml - update vendor 9 months ago
com.go - update vendor 9 months ago
com_func.go - update vendor 1 year ago
connect.go - update vendor 1 year ago
constants.go - update vendor 1 year ago
error.go - update vendor 1 year ago
error_func.go - update vendor 1 year ago
error_windows.go - update vendor 1 year ago
guid.go - update vendor 1 year ago
iconnectionpoint.go - update vendor 1 year ago
iconnectionpoint_func.go - update vendor 1 year ago
iconnectionpoint_windows.go - update vendor 1 year ago
iconnectionpointcontainer.go - update vendor 1 year ago
iconnectionpointcontainer_func.go - update vendor 1 year ago
iconnectionpointcontainer_windows.go - update vendor 1 year ago
idispatch.go - update vendor 1 year ago
idispatch_func.go - update vendor 1 year ago
idispatch_windows.go - update vendor 9 months ago
ienumvariant.go - update vendor 1 year ago
ienumvariant_func.go - update vendor 1 year ago
ienumvariant_windows.go - update vendor 1 year ago
iinspectable.go - update vendor 1 year ago
iinspectable_func.go - update vendor 1 year ago
iinspectable_windows.go - update vendor 1 year ago
iprovideclassinfo.go - update vendor 1 year ago
iprovideclassinfo_func.go - update vendor 1 year ago
iprovideclassinfo_windows.go - update vendor 1 year ago
itypeinfo.go - update vendor 1 year ago
itypeinfo_func.go - update vendor 1 year ago
itypeinfo_windows.go - update vendor 1 year ago
iunknown.go - update vendor 1 year ago
iunknown_func.go - update vendor 1 year ago
iunknown_windows.go - update vendor 1 year ago
ole.go - update vendor 1 year ago
safearray.go - update vendor 1 year ago
safearray_func.go - update vendor 1 year ago
safearray_windows.go - update vendor 1 year ago
safearrayconversion.go - update vendor 1 year ago
safearrayslices.go - update vendor 1 year ago
utility.go - update vendor 1 year ago
variables.go - update vendor 1 year ago
variant.go - update vendor 9 months ago
variant_386.go - update vendor 1 year ago
variant_amd64.go - update vendor 1 year ago
variant_arm.go - update vendor 1 year ago
variant_arm64.go - update vendor 1 year ago
variant_date_386.go - update vendor 1 year ago
variant_date_amd64.go - update vendor 1 year ago
variant_date_arm.go - update vendor 1 year ago
variant_date_arm64.go - update vendor 1 year ago
variant_ppc64le.go - update vendor 1 year ago
variant_s390x.go - update vendor 1 year ago
vt_string.go - update vendor 1 year ago
winrt.go - update vendor 1 year ago
winrt_doc.go - update vendor 1 year ago

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