# goctp **Repository Path**: xlx0000/goctp ## Basic Information - **Project Name**: goctp - **Description**: Golang bindings for CTP. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-10 - **Last Updated**: 2021-12-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # goctp Golang bindings for CTP. ## Why Golang >https://golang.org/doc/ The Go programming language is an open source project to make programmers more productive. Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language. ## Why Swig > http://www.swig.org/Doc3.0/Go.html#Go Go does not support direct calling of functions written in C/C++. The cgo program may be used to generate wrappers to call C code from Go, but there is no convenient way to call C++ code. SWIG fills this gap. ## Why goCTP This is a matter of course. ## How to Build goCTP > Only support Linux X64 now. ``` go get -u github.com/qerio/goctp make build ``` ## How to Build example ``` make example ``` ## FAQ 1. [[golang]如何在windows上使用cgo]([golang]如何在windows上使用cgo)