redcode-labs / Coldfire

Golang malware development library
MIT License
927 stars 142 forks source link

Usage example. #2

Closed ddavies1972 closed 3 years ago

ddavies1972 commented 3 years ago

Hi

Can you please provide usage example for those of us that are new at golang.

This is what I have:

`package main

import "github.com/redcode-labs/ColdFire"

func main() { coldfire.print_good("this is a test") }`

The result is this: ./main.go:6:3: cannot refer to unexported name coldfire.print_good ./main.go:6:3: undefined: coldfire.print_good

Thanks for your time!

wintrmvte commented 3 years ago

Hi, thank you for your input. Apparently, I forgot that underscore_named functions are non-exportable. Will fix those names with Camel soon. For now, only changed the symbols required by Neurax.

wintrmvte commented 3 years ago

Done, I will reopen if something was omitted.