Skip to content

kelkarajay/hw-so

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello World with Go Plugins

This repo has a sample on how Go plugins can be used to accomplish a hotswap of functionality.

Use

  1. Clone the repository
  2. Open a terminal, switch to the cloned directory and type in - go run tester.go to begin.
  3. You can drop in a .so file (which has a Machine symbol that implements DoSomething) to the libFolder directory
  4. The test utility which watches the libFolder loads the plugin and executes the DoSomething function

About

Go Plugins - Hello World

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages