@@ -31,7 +31,7 @@ type fMessage struct {
3131 Text interface {} `mapstructure:"text"`
3232}
3333
34- func parseFiles (ctx context.Context , client * tg.Client , kvd * kv.KV , files []string ) ([]* dialog , error ) {
34+ func parseFiles (ctx context.Context , client * tg.Client , kvd kv.KV , files []string ) ([]* dialog , error ) {
3535 dialogs := make ([]* dialog , 0 , len (files ))
3636
3737 for _ , file := range files {
@@ -46,7 +46,7 @@ func parseFiles(ctx context.Context, client *tg.Client, kvd *kv.KV, files []stri
4646 return dialogs , nil
4747}
4848
49- func parseFile (ctx context.Context , client * tg.Client , kvd * kv.KV , file string ) (* dialog , error ) {
49+ func parseFile (ctx context.Context , client * tg.Client , kvd kv.KV , file string ) (* dialog , error ) {
5050 f , err := os .Open (file )
5151 if err != nil {
5252 return nil , err
@@ -105,7 +105,7 @@ func collect(ctx context.Context, r io.Reader, peer peers.Peer) (*dialog, error)
105105 return m , nil
106106}
107107
108- func getChatInfo (ctx context.Context , client * tg.Client , kvd * kv.KV , r io.Reader ) (peers.Peer , error ) {
108+ func getChatInfo (ctx context.Context , client * tg.Client , kvd kv.KV , r io.Reader ) (peers.Peer , error ) {
109109 d := jstream .NewDecoder (r , 1 ).EmitKV ()
110110
111111 chatID := int64 (0 )
0 commit comments