Thanks to visit codestin.com
Credit goes to github.com

Skip to content

q3k/is-odd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-odd

A microservice to check whether a number is odd.

$ go get github.com/q3k/is-odd
$ go generate github.com/q3k/is-odd/...
$ go build github.com/q3k/is-odd
$ ./is-odd

$ grpcurl -plaintext -format text -d 'number: 2138' 127.0.0.1:2137 isodd.IsOdd.IsOdd
result: RESULT_NON_ODD
$ grpcurl -plaintext -format text -d 'number: 2137' 127.0.0.1:2137 isodd.IsOdd.IsOdd
result: RESULT_ODD

License

Copyright © 2019 Serge Bazanski [email protected] This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See the LICENSE file for more details.

About

A microservice to return whether a number is odd.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages