Skip to content

Instantly share code, notes, and snippets.

View mgspross's full-sized avatar

Mike Spross mgspross

View GitHub Profile
@mgspross
mgspross / olewrapper.go
Last active December 18, 2020 01:02
A proof-of-concept for defining COM interfaces in Go using go-ole, structs, and function-type fields
package main
import (
"fmt"
"github.com/mattn/go-ole"
"github.com/mattn/go-ole/oleutil"
"log"
"reflect"
"runtime"
)

Keybase proof

I hereby claim:

  • I am mgspross on github.
  • I am mgspross (https://keybase.io/mgspross) on keybase.
  • I have a public key whose fingerprint is B72C DEC1 116E 4C4C 4B00 BB20 59B9 482F B9C5 C961

To claim this, I am signing this object: