package main import ( // Standard "net" ) type I3Session struct { Socket I3Socket } type I3Socket struct { filename string socket string conn net.Conn } type I3Output struct { Name string Active bool CurrentWorkspace string `json:"current_workspace"` } type I3Workspace struct { Id int Num int Name string Visible bool Focused bool Output string } type I3Config struct { Config string } type I3EventBinding struct { Change string Binding struct { InputCode int `json:"input_code"` Symbol string Command string Mods []string EventStateMask []string `json:"event_state_mask"` } }