steveoc64 / godev

Development utils for GO
0 stars 0 forks source link

package name SMS is wrong ? #1

Open joeblew99 opened 8 years ago

joeblew99 commented 8 years ago

Hey,

I am doing basic build and testing on github.com/steveoc64/go-cmms to play with it in general.

Something weird with SMS naming ? Its meant to be called SMT.

go get -u -d github.com/steveoc64/go-cmms/...

cannot find package "github.com/steveoc64/godev/sms" in any of:
    /usr/local/go/src/github.com/steveoc64/godev/sms (from $GOROOT)
    /Users/apple/workspace/go/src/github.com/steveoc64/godev/sms (from $GOPATH)
x-MacBook-Pro:steveoc64 apple$ 
steveoc64 commented 8 years ago

Hi Joe, thanks for the bump on that .. repo was way out of date, even the API to the echo server was out.

Fixed now, try that.

SMT = setting for CPU usage. Latest Go defaults to setting CPU = MAXPROCs now instead of 0, so I probably will never need this little snippet again.

SMS = wrapper for generating SMS / phone messages using one particular gateway service.

Only used If the SMSOn flag is set in the config.json file at runtime.

Bare with me - will setup a sanitized database in the next session, so you can get a build running. Wont be long.