O'Reilly logo

Distributed Computing with Go by V.N. Nikhil Anurag

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Librarian source code

Now that we have discussed the design of Librarian in detail, let's look at the project structure and source code:

$ tree               
.                                           
├── api                                     
│   ├── index.go                            
│   └── query.go                            
├── common                                  
│   ├── helpers.go                
├── Dockerfile                              
├── main.go                                  

Two directories and five files!

Now let's look at the source code for each of the files.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required