comparison pkg/imports/ubn.go @ 5712:6270951dda28 revive-cleanup

/interface{}/any/
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 20 Feb 2024 22:37:51 +0100
parents 59a99655f34d
children
comparison
equal deleted inserted replaced
5711:2dd155cc95ec 5712:6270951dda28
68 func (ubn *UploadedBottleneck) Do( 68 func (ubn *UploadedBottleneck) Do(
69 ctx context.Context, 69 ctx context.Context,
70 importID int64, 70 importID int64,
71 conn *sql.Conn, 71 conn *sql.Conn,
72 feedback Feedback, 72 feedback Feedback,
73 ) (interface{}, error) { 73 ) (any, error) {
74 74
75 fetch := func() ([]*ifbn.BottleNeckType, error) { 75 fetch := func() ([]*ifbn.BottleNeckType, error) {
76 var dst ifbn.Export_bn_by_isrsResponse 76 var dst ifbn.Export_bn_by_isrsResponse
77 if err := soap.ValidateFile( 77 if err := soap.ValidateFile(
78 filepath.Join(ubn.Dir, "data.xml"), 78 filepath.Join(ubn.Dir, "data.xml"),