Skip to content

ricardoitv/go-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Commands

go run ./...
go build ./...

Testing

To compare structs in tests - https://pkg.go.dev/github.com/google/go-cmp/cmp

Error handling

err := TheThing()
if err != nil {
  // Do something.
}
err = TheOtherThing() // no := but just = to avoid errors
if err != nil {
  // Do something.
}

Dependencies

go get github.com/sashabaranov/go-openai

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages