Rod Hynes db831cc5f8 Update tailscale.com/net/portmapper for fixes and enhancements 1 tahun lalu
..
oleutil a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
.travis.yml a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
ChangeLog.md a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
LICENSE a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
README.md a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
SECURITY.md db831cc5f8 Update tailscale.com/net/portmapper for fixes and enhancements 1 tahun lalu
appveyor.yml db831cc5f8 Update tailscale.com/net/portmapper for fixes and enhancements 1 tahun lalu
com.go db831cc5f8 Update tailscale.com/net/portmapper for fixes and enhancements 1 tahun lalu
com_func.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
connect.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
constants.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
error.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
error_func.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
error_windows.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
guid.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
iconnectionpoint.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
iconnectionpoint_func.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
iconnectionpoint_windows.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
iconnectionpointcontainer.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
iconnectionpointcontainer_func.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
iconnectionpointcontainer_windows.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
idispatch.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
idispatch_func.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
idispatch_windows.go db831cc5f8 Update tailscale.com/net/portmapper for fixes and enhancements 1 tahun lalu
ienumvariant.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
ienumvariant_func.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
ienumvariant_windows.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
iinspectable.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
iinspectable_func.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
iinspectable_windows.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
iprovideclassinfo.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
iprovideclassinfo_func.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
iprovideclassinfo_windows.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
itypeinfo.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
itypeinfo_func.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
itypeinfo_windows.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
iunknown.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
iunknown_func.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
iunknown_windows.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
ole.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
safearray.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
safearray_func.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
safearray_windows.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
safearrayconversion.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
safearrayslices.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
utility.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
variables.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
variant.go db831cc5f8 Update tailscale.com/net/portmapper for fixes and enhancements 1 tahun lalu
variant_386.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
variant_amd64.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
variant_arm.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
variant_arm64.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
variant_date_386.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
variant_date_amd64.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
variant_date_arm.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
variant_date_arm64.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
variant_ppc64le.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
variant_s390x.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
vt_string.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
winrt.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu
winrt_doc.go a0cc0fd2a7 go mod and vendor updates for dde8c33d 1 tahun lalu

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