package
Version:
v0.0.0-...-6bcf4b5
Opens a new window with list of versions in this module.
Published: Feb 10, 2024
License: BSD-2-Clause
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Bard is the main struct for the Bard AI
New creates a new Bard AI instance. Cookie is the __Secure-1PSID cookie from Google
Ask generates a Bard AI response and returns it to the user
Clear clears the bard answer IDs
Log is a wrapper around zerolog.Logger to make it compatible with resty
func (l Log) Debugf(msg string, args ...interface{})
Debugf implements resty.Logger interface
func (l Log) Errorf(msg string, args ...interface{})
Errorf implements resty.Logger interface
func (l Log) Fatalf(msg string, args ...interface{})
Fatalf implements resty.Logger interface
func (l Log) Infof(msg string, args ...interface{})
Infof implements resty.Logger interface
func (l Log) Warnf(msg string, args ...interface{})
Warnf implements resty.Logger interface
Source Files
¶
Click to show internal directories.
Click to hide internal directories.