Creating servlet using Go

Hi all,

I am new to Go and would like to know how to create a small servlet that can accept text as the input, the output is the top 10 most used words in the text input.

If there is any library that we can use to accomplish this, please suggest as well.


You could do this easy enough with the Go standard library. The net/http package has everything you need to write a server that can take in input and spit out what you want. Here is the docs on this package:

1 Like

Thank you CurtGreen for the answer!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.