cefingo

module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2019 License: BSD-3-Clause, MIT

README

cefingo

This is experimental go binding for CEF.

Supported Environment

  • Windows 10 64bit (msys2 environment is recomended)

How to Start

  1. Download Spotify's Autobuild Image http://opensource.spotify.com/cefbuilds/cef_binary_73.1.11%2Bge6986dc%2Bchromium-73.0.3683.75_windows64.tar.bz2

    (CEF version scheme has been changed from CEF 73. So, latest code can not use with old cef library)

  2. Expand it.

  3. Copy library files and Resouce files to a Directory in PATH Envrironment Variable (eg. $GOPATH/bin).

    C:\> xcopy /e \path\to\expand_dir\Release \path\to\gopath\bin
    C:\> xcopy /e \path\to\expand_dir\Resources \path\to\gopath\bin
    
  4. Setup CGO Environment values.

    C:\> set CGO_LDFLAGS=-L\path\to\gopath\bin -lcef
    C:\> set CGO_CFLAGS=-I\path\to\expand_dir
    
  5. go get this packages.

    C:\> go get github.com/turutcrane/cefingo/...
    

Example

https://github.com/turutcrane/cefingo-sample

License

This project is licensed under the MIT License.

This project quotes header files of the following third party libraries:

Thanks to https://github.com/cztomczak/cefcapi .

Directories

Path Synopsis
cefingo go type generator for cef type with cef_base_ref_counted_t base member
cefingo go type generator for cef type with cef_base_ref_counted_t base member

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL