SYMBOL INDEX (193 symbols across 37 files) FILE: actions/monthly.go type Issue (line 15) | type Issue struct function main (line 22) | func main() { function closeOldIssues (line 80) | func closeOldIssues(client *github.Client, owner, repo string, name stri... FILE: content/discuss/log_color_test.go function TestLogColor (line 9) | func TestLogColor(t *testing.T) { FILE: content/night/other/sync-pool-demo/cmd/makeslice.go function main (line 5) | func main() { FILE: content/night/other/sync-pool-demo/demo/main.go function readContent (line 20) | func readContent(wg *sync.WaitGroup) { function main (line 42) | func main() { FILE: content/night/other/sync-pool-demo/demo2/main.go function readContent (line 23) | func readContent(wg *sync.WaitGroup) { function main (line 56) | func main() { FILE: content/night/other/sync-pool-demo/main.go function main (line 9) | func main() { FILE: content/night/other/zap-learn/logger/logger.go type Logger (line 7) | type Logger interface function Setup (line 42) | func Setup() error { function TearDown (line 48) | func TearDown() { function FDebug (line 52) | func FDebug(prefix string, keyAndValues ...string) { function FInfo (line 57) | func FInfo(prefix string, keyAndValues ...string) { function FWarn (line 62) | func FWarn(prefix string, keyAndValues ...string) { function FError (line 67) | func FError(prefix string, keyAndValues ...string) { function FPanic (line 72) | func FPanic(prefix string, keyAndValues ...string) { function Debug (line 78) | func Debug(args ...interface{}) { function Info (line 83) | func Info(args ...interface{}) { function Warn (line 88) | func Warn(args ...interface{}) { function Error (line 93) | func Error(args ...interface{}) { function Panic (line 98) | func Panic(args ...interface{}) { function Debugf (line 103) | func Debugf(fmt string, args ...interface{}) { function Infof (line 108) | func Infof(fmt string, args ...interface{}) { function Warnf (line 113) | func Warnf(fmt string, args ...interface{}) { function Errorf (line 118) | func Errorf(fmt string, args ...interface{}) { function Panicf (line 123) | func Panicf(fmt string, args ...interface{}) { FILE: content/night/other/zap-learn/logger/logger_test.go function TestFinfo (line 7) | func TestFinfo(t *testing.T) { function init (line 11) | func init() { FILE: content/night/other/zap-learn/logger/zap/zap.go type ZLogger (line 16) | type ZLogger struct method Debug (line 24) | func (logger ZLogger) Debug(args ...interface{}) { method Info (line 29) | func (logger ZLogger) Info(args ...interface{}) { method Warn (line 34) | func (logger ZLogger) Warn(args ...interface{}) { method Error (line 39) | func (logger ZLogger) Error(args ...interface{}) { method Panic (line 44) | func (logger ZLogger) Panic(args ...interface{}) { method DPanic (line 51) | func (logger ZLogger) DPanic(template string, args ...interface{}) { method Fdebug (line 55) | func (logger ZLogger) Fdebug(msg string, keyAndValues ...string) { method Finfo (line 63) | func (logger ZLogger) Finfo(msg string, keyAndValues ...string) { method Fwarn (line 71) | func (logger ZLogger) Fwarn(msg string, keyAndValues ...string) { method Ferror (line 79) | func (logger ZLogger) Ferror(msg string, keyAndValues ...string) { method Fpanic (line 87) | func (logger ZLogger) Fpanic(msg string, keyAndValues ...string) { method Debugf (line 113) | func (logger ZLogger) Debugf(template string, args ...interface{}) { method Infof (line 118) | func (logger ZLogger) Infof(template string, args ...interface{}) { method Warnf (line 123) | func (logger ZLogger) Warnf(template string, args ...interface{}) { method Errorf (line 128) | func (logger ZLogger) Errorf(template string, args ...interface{}) { method Panicf (line 133) | func (logger ZLogger) Panicf(template string, args ...interface{}) { method DPanicf (line 141) | func (logger ZLogger) DPanicf(template string, args ...interface{}) { method TearDown (line 149) | func (logger ZLogger) TearDown() { method Level (line 153) | func (logger ZLogger) Level() int32 { method SetLevel (line 166) | func (logger ZLogger) SetLevel(level int32) { method ShowSQL (line 170) | func (logger ZLogger) ShowSQL(show ...bool) { method IsShowSQL (line 179) | func (logger ZLogger) IsShowSQL() bool { function parseFields (line 99) | func parseFields(keyAndValues ...string) []zap.Field { function NewLogger (line 183) | func NewLogger() *ZLogger { function callerEncoder (line 270) | func callerEncoder(caller zapcore.EntryCaller, enc zapcore.PrimitiveArra... function timeEncoder (line 275) | func timeEncoder(t time.Time, enc zapcore.PrimitiveArrayEncoder) { function milliSecondsDurationEncoder (line 280) | func milliSecondsDurationEncoder(d time.Duration, enc zapcore.PrimitiveA... function newLoggerConfig (line 284) | func newLoggerConfig(debugLevel bool, te zapcore.TimeEncoder, de zapcore... function NewLoggerWithLevel (line 304) | func NewLoggerWithLevel(debugLevel bool) (logger *zap.Logger) { function NewCustomLogger (line 314) | func NewCustomLogger(debugLevel bool, te zapcore.TimeEncoder, de zapcore... function NewNoCallerLogger (line 324) | func NewNoCallerLogger(debugLevel bool) (noCallerLogger *zap.Logger) { function NewNormalLoggers (line 335) | func NewNormalLoggers(debugLevel bool) (logger, noCallerLogger *zap.Logg... type logWriter (line 349) | type logWriter struct method Write (line 354) | func (w logWriter) Write(p []byte) (n int, err error) { FILE: content/night/other/zap-learn/main.go function main (line 7) | func main() { FILE: examples/gin_examples/cmd/server/main.go function main (line 13) | func main() { FILE: examples/gin_examples/pkg/auth/auth.go type Authenticator (line 5) | type Authenticator struct method Hash (line 7) | func (a *Authenticator) Hash(password string) (string, error) { method CompareHash (line 17) | func (a *Authenticator) CompareHash(hashedPassword string, plainPasswo... FILE: examples/gin_examples/pkg/auth/auth_test.go function TestAuthenticationProvider_HashAndSalt (line 10) | func TestAuthenticationProvider_HashAndSalt(t *testing.T) { function TestAuthenticator_CompareWithHash (line 34) | func TestAuthenticator_CompareWithHash(t *testing.T) { FILE: examples/gin_examples/pkg/auth/sessionId.go method SessionID (line 9) | func (Authenticator) SessionID() string { FILE: examples/gin_examples/pkg/auth/sessionId_test.go function TestAuthenticator_SessionID (line 10) | func TestAuthenticator_SessionID(t *testing.T) { FILE: examples/gin_examples/pkg/config/config.go type Config (line 8) | type Config struct method IsProd (line 19) | func (c Config) IsProd() bool { function GetConfig (line 24) | func GetConfig() Config { FILE: examples/gin_examples/pkg/config/config_test.go function TestGetConfig (line 10) | func TestGetConfig(t *testing.T) { FILE: examples/gin_examples/pkg/http/middleware.go function NewAuthMiddleware (line 11) | func NewAuthMiddleware(provider ginexamples.UserAuthenticationProvider) ... function CORS (line 30) | func CORS() gin.HandlerFunc { function Logger (line 46) | func Logger(l *log.Logger) gin.HandlerFunc { FILE: examples/gin_examples/pkg/http/middleware_test.go function TestNewAuthMiddleware (line 17) | func TestNewAuthMiddleware(t *testing.T) { function TestLogger (line 71) | func TestLogger(t *testing.T) { function TestCORS (line 109) | func TestCORS(t *testing.T) { FILE: examples/gin_examples/pkg/http/routes.go method privateRoutes (line 7) | func (a *AppServer) privateRoutes(router *gin.RouterGroup) { method publicRoutes (line 12) | func (a *AppServer) publicRoutes(router *gin.RouterGroup) { FILE: examples/gin_examples/pkg/http/server.go type AppServer (line 11) | type AppServer struct method initialize (line 17) | func (a *AppServer) initialize() { method Run (line 29) | func (a *AppServer) Run() { FILE: examples/gin_examples/pkg/http/userHandler.go method RegisterUserHandler (line 11) | func (a *AppServer) RegisterUserHandler(c *gin.Context) { method LoginUserHandler (line 47) | func (a *AppServer) LoginUserHandler(c *gin.Context) { method LogoutUserHandler (line 78) | func (a *AppServer) LogoutUserHandler(c *gin.Context) { method GetUserHandler (line 96) | func (a *AppServer) GetUserHandler(c *gin.Context) { method GetMeHandler (line 116) | func (a *AppServer) GetMeHandler(c *gin.Context) { function setCookie (line 136) | func setCookie(c *gin.Context, value string) { FILE: examples/gin_examples/pkg/http/userHandler_test.go function TestAppServer_RegisterUserHandler (line 10) | func TestAppServer_RegisterUserHandler(t *testing.T) { function TestAppServer_LoginUserHandler (line 63) | func TestAppServer_LoginUserHandler(t *testing.T) { function TestAppServer_LogoutUserHandler (line 114) | func TestAppServer_LogoutUserHandler(t *testing.T) { function TestAppServer_GetUserHandler (line 164) | func TestAppServer_GetUserHandler(t *testing.T) { function TestAppServer_GetMeHandler (line 211) | func TestAppServer_GetMeHandler(t *testing.T) { FILE: examples/gin_examples/pkg/mock/repository.go type UserRepository (line 5) | type UserRepository struct method Store (line 22) | func (uRM *UserRepository) Store(user *ginexamples.User) error { method Update (line 27) | func (uRM *UserRepository) Update(user *ginexamples.User) error { method Find (line 32) | func (uRM *UserRepository) Find(id string) (*ginexamples.User, error) { method FindByEmail (line 37) | func (uRM *UserRepository) FindByEmail(email string) (*ginexamples.Use... method FindBySessionID (line 42) | func (uRM *UserRepository) FindBySessionID(sessionID string) (*ginexam... FILE: examples/gin_examples/pkg/mock/service.go type UserService (line 5) | type UserService struct method CreateUser (line 15) | func (uSM *UserService) CreateUser(u *ginexamples.User, password strin... method GetUser (line 20) | func (uSM *UserService) GetUser(id string) (*ginexamples.User, error) { type UserAuthenticationProvider (line 25) | type UserAuthenticationProvider struct method Login (line 36) | func (uAM *UserAuthenticationProvider) Login(email string, password st... method Logout (line 41) | func (uAM *UserAuthenticationProvider) Logout(sessionID string) error { method CheckAuthentication (line 45) | func (uAM *UserAuthenticationProvider) CheckAuthentication(sessionID s... type Authenticator (line 50) | type Authenticator interface type AuthenticatorMock (line 56) | type AuthenticatorMock struct method Hash (line 67) | func (uAM *AuthenticatorMock) Hash(password string) (string, error) { method CompareHash (line 72) | func (uAM *AuthenticatorMock) CompareHash(hashedPassword string, plain... method SessionID (line 76) | func (uAM *AuthenticatorMock) SessionID() string { FILE: examples/gin_examples/pkg/postgres/postgres.go type DBConfig (line 12) | type DBConfig struct method connectionInfo (line 20) | func (c DBConfig) connectionInfo() string { type Repository (line 31) | type Repository struct method AutoMigrate (line 50) | func (r *Repository) AutoMigrate() error { function Initialize (line 37) | func Initialize(c DBConfig) *Repository { FILE: examples/gin_examples/pkg/postgres/userrepository.go type UserRepository (line 11) | type UserRepository struct method Store (line 22) | func (u *UserRepository) Store(user *ginexamples.User) error { method Find (line 26) | func (u *UserRepository) Find(id string) (*ginexamples.User, error) { method FindByEmail (line 38) | func (u *UserRepository) FindByEmail(email string) (*ginexamples.User,... method FindBySessionID (line 45) | func (u *UserRepository) FindBySessionID(sessionID string) (*ginexampl... method findBy (line 52) | func (u *UserRepository) findBy(key string, value string) (*ginexample... method Update (line 69) | func (u *UserRepository) Update(user *ginexamples.User) error { function newUserRepository (line 15) | func newUserRepository(db *gorm.DB) *UserRepository { function first (line 61) | func first(db *gorm.DB, dst interface{}) error { FILE: examples/gin_examples/pkg/service/userservice/userservice.go type UserService (line 10) | type UserService struct method CreateUser (line 29) | func (uS *UserService) CreateUser(user *ginexamples.User, password str... method Login (line 54) | func (uS *UserService) Login(email string, password string) (*ginexamp... method Logout (line 74) | func (uS *UserService) Logout(sessionID string) error { method CheckAuthentication (line 86) | func (uS *UserService) CheckAuthentication(sessionID string) (*ginexam... method GetUser (line 95) | func (uS *UserService) GetUser(id string) (*ginexamples.User, error) { type Authenticator (line 15) | type Authenticator interface function New (line 22) | func New(userRepository ginexamples.UserRepository) *UserService { FILE: examples/gin_examples/pkg/service/userservice/userservice_test.go function TestNew (line 70) | func TestNew(t *testing.T) { function TestUserService_CreateUser (line 77) | func TestUserService_CreateUser(t *testing.T) { function TestUserService_Login (line 118) | func TestUserService_Login(t *testing.T) { function TestUserService_Logout (line 153) | func TestUserService_Logout(t *testing.T) { function TestUserService_CheckAuthentication (line 181) | func TestUserService_CheckAuthentication(t *testing.T) { function TestUserService_GetUser (line 208) | func TestUserService_GetUser(t *testing.T) { FILE: examples/gin_examples/user.go type User (line 7) | type User struct type UserRepository (line 16) | type UserRepository interface type UserService (line 24) | type UserService interface type UserAuthenticationProvider (line 30) | type UserAuthenticationProvider interface FILE: practice/reading-go-43/main.go type Person (line 9) | type Person struct method Name (line 13) | func (p Person)Name()string { function changeName (line 16) | func changeName(p *Person, v string) { function main (line 24) | func main(){ FILE: static/icons/demo-files/demo.js function updateTest (line 17) | function updateTest() { function updateSize (line 23) | function updateSize() { FILE: static/javascripts/application.js function pegasus (line 1) | function pegasus(t, e) { function t (line 108) | function t(e, o) { FILE: talkgo.go function BecomeAContributor (line 8) | func BecomeAContributor(username string) bool { FILE: talkgo_test.go function TestBecomeAContributor (line 10) | func TestBecomeAContributor(t *testing.T) { FILE: themes/hugo-material-docs/static/javascripts/application.js function pegasus (line 1) | function pegasus(t,e){return e=new XMLHttpRequest,e.open("GET",t),t=[],e... function t (line 1) | function t(e,o){function i(t,e){return function(){return t.apply(e,argum... FILE: themes/hugo-material-docs/static/javascripts/modernizr.js function r (line 1) | function r(e,t){return typeof e===t} function i (line 1) | function i(){var e,t,n,i,o,a,s;for(var l in x)if(x.hasOwnProperty(l)){if... function o (line 1) | function o(e){var t=C.className,n=S._config.classPrefix||"";if(T&&(t=t.b... function a (line 1) | function a(e,t){if("object"==typeof e)for(var n in e)b(e,n)&&a(n,e[n]);e... function s (line 1) | function s(e,t){return function(){return e.apply(t,arguments)}} function l (line 1) | function l(e,t){return!!~(""+e).indexOf(t)} function u (line 1) | function u(){return"function"!=typeof t.createElement?t.createElement(ar... function c (line 1) | function c(){var e=t.body;return e||(e=u(T?"svg":"body"),e.fake=!0),e} function f (line 1) | function f(e,n,r,i){var o,a,s,l,f="modernizr",d=u("div"),p=c();if(parseI... function d (line 1) | function d(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLo... function p (line 1) | function p(t,r){var i=t.length;if("CSS"in e&&"supports"in e.CSS){for(;i-... function m (line 1) | function m(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,n){return... function h (line 1) | function h(e,t,i,o){function a(){c&&(delete _.style,delete _.modElem)}if... function g (line 1) | function g(e,t,n){var i;for(var o in e)if(e[o]in t)return n===!1?e[o]:(i... function v (line 1) | function v(e,t,n,i,o){var a=e.charAt(0).toUpperCase()+e.slice(1),s=(e+" ... function y (line 1) | function y(e,t,r){return v(e,n,n,t,r)} function n (line 1) | function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("hea... function r (line 1) | function r(){var e=C.elements;return"string"==typeof e?e.split(" "):e} function i (line 1) | function i(e,t){var n=C.elements;"string"!=typeof n&&(n=n.join(" ")),"st... function o (line 1) | function o(e){var t=w[e[S]];return t||(t={},b++,e[S]=b,w[b]=t),t} function a (line 1) | function a(e,n,r){if(n||(n=t),g)return n.createElement(e);r||(r=o(n));va... function s (line 1) | function s(e,n){if(e||(e=t),g)return e.createDocumentFragment();n=n||o(e... function l (line 1) | function l(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.crea... function u (line 1) | function u(e){e||(e=t);var r=o(e);return!C.shivCSS||h||r.hasCSS||(r.hasC... function c (line 1) | function c(e){for(var t,n=e.getElementsByTagName("*"),i=n.length,o=RegEx... function f (line 1) | function f(e){for(var t,n=e.attributes,r=n.length,i=e.ownerDocument.crea... function d (line 1) | function d(e){for(var t,n=e.split("{"),i=n.length,o=RegExp("(^|[\\s,>+~]... function p (line 1) | function p(e){for(var t=e.length;t--;)e[t].removeNode()} function m (line 1) | function m(e){function t(){clearTimeout(a._removeSheetTimer),r&&r.remove... function e (line 1) | function e(e,t){var i;return e?(t&&"string"!=typeof t||(t=u(t||"div")),e... function t (line 1) | function t(){E(!0)}