How to Use SWIG to Link Windows DLL with Golang

SWIG (Simplified Wrapper and Interface Generator) is a software development tool that connects C/C++ libraries with a variety of high-level programming languages such as Golang, Java, Python, PHP, Ruby and so on.  In this post, I’m going to demo how to use SWIG to automatically generate C wrapper code for linking Dynamsoft Barcode Reader DLL with cgo on Windows.

Read more

Scan and Upload Documents in Web TWAIN and Go

Last week, I introduced how to create a Web application for document imaging and uploading with Dynamic Web TWAIN SDK and Node.js. In this tutorial, I’d like to share a more convenient way to implement such a solution in Go. You can just copy the client-relevant resources and page files to the new project since there’s no change at all.

Read more