diff --git a/coverage/coverage.out b/coverage/coverage.out index 1e047b4..01e4129 100644 --- a/coverage/coverage.out +++ b/coverage/coverage.out @@ -1,8 +1,116 @@ mode: set +github.com/muety/wakapi/models/heartbeats.go:7.31,9.2 1 0 +github.com/muety/wakapi/models/heartbeats.go:11.41,13.2 1 0 +github.com/muety/wakapi/models/heartbeats.go:15.36,17.2 1 0 +github.com/muety/wakapi/models/heartbeats.go:19.43,22.2 2 0 +github.com/muety/wakapi/models/heartbeats.go:24.41,26.18 1 0 +github.com/muety/wakapi/models/heartbeats.go:29.2,29.16 1 0 +github.com/muety/wakapi/models/heartbeats.go:26.18,28.3 1 0 +github.com/muety/wakapi/models/heartbeats.go:32.40,34.18 1 0 +github.com/muety/wakapi/models/heartbeats.go:37.2,37.24 1 0 +github.com/muety/wakapi/models/heartbeats.go:34.18,36.3 1 0 github.com/muety/wakapi/models/language_mapping.go:11.42,13.2 1 0 github.com/muety/wakapi/models/language_mapping.go:15.51,17.2 1 0 github.com/muety/wakapi/models/language_mapping.go:19.52,21.2 1 0 -github.com/muety/wakapi/models/models.go:3.14,5.2 0 1 +github.com/muety/wakapi/models/summary.go:60.29,62.2 1 1 +github.com/muety/wakapi/models/summary.go:64.35,66.2 1 0 +github.com/muety/wakapi/models/summary.go:68.37,76.2 7 1 +github.com/muety/wakapi/models/summary.go:78.35,80.2 1 1 +github.com/muety/wakapi/models/summary.go:82.57,91.2 1 1 +github.com/muety/wakapi/models/summary.go:93.64,95.2 1 0 +github.com/muety/wakapi/models/summary.go:108.33,113.26 4 1 +github.com/muety/wakapi/models/summary.go:120.2,120.37 1 1 +github.com/muety/wakapi/models/summary.go:125.2,126.16 2 1 +github.com/muety/wakapi/models/summary.go:129.2,129.33 1 1 +github.com/muety/wakapi/models/summary.go:113.26,114.30 1 1 +github.com/muety/wakapi/models/summary.go:114.30,116.4 1 1 +github.com/muety/wakapi/models/summary.go:120.37,122.3 1 0 +github.com/muety/wakapi/models/summary.go:126.16,128.3 1 0 +github.com/muety/wakapi/models/summary.go:129.33,131.3 1 1 +github.com/muety/wakapi/models/summary.go:135.56,141.28 5 1 +github.com/muety/wakapi/models/summary.go:145.2,146.42 2 1 +github.com/muety/wakapi/models/summary.go:153.2,154.15 2 1 +github.com/muety/wakapi/models/summary.go:141.28,143.3 1 1 +github.com/muety/wakapi/models/summary.go:146.42,147.22 1 0 +github.com/muety/wakapi/models/summary.go:147.22,149.9 2 0 +github.com/muety/wakapi/models/summary.go:154.15,155.28 1 1 +github.com/muety/wakapi/models/summary.go:155.28,157.4 1 0 +github.com/muety/wakapi/models/summary.go:157.9,163.4 1 1 +github.com/muety/wakapi/models/summary.go:167.45,172.16 4 0 +github.com/muety/wakapi/models/summary.go:175.2,175.39 1 0 +github.com/muety/wakapi/models/summary.go:179.2,179.30 1 0 +github.com/muety/wakapi/models/summary.go:172.16,174.3 1 0 +github.com/muety/wakapi/models/summary.go:175.39,177.3 1 0 +github.com/muety/wakapi/models/summary.go:182.73,184.55 2 1 +github.com/muety/wakapi/models/summary.go:189.2,189.16 1 1 +github.com/muety/wakapi/models/summary.go:184.55,185.31 1 1 +github.com/muety/wakapi/models/summary.go:185.31,187.4 1 1 +github.com/muety/wakapi/models/summary.go:192.88,194.55 2 1 +github.com/muety/wakapi/models/summary.go:202.2,202.16 1 1 +github.com/muety/wakapi/models/summary.go:194.55,195.31 1 1 +github.com/muety/wakapi/models/summary.go:195.31,196.23 1 1 +github.com/muety/wakapi/models/summary.go:199.4,199.46 1 1 +github.com/muety/wakapi/models/summary.go:196.23,197.13 1 1 +github.com/muety/wakapi/models/summary.go:205.73,207.34 2 1 +github.com/muety/wakapi/models/summary.go:210.2,210.14 1 1 +github.com/muety/wakapi/models/summary.go:207.34,209.3 1 1 +github.com/muety/wakapi/models/summary.go:213.56,216.55 3 0 +github.com/muety/wakapi/models/summary.go:223.2,223.12 1 0 +github.com/muety/wakapi/models/summary.go:216.55,217.31 1 0 +github.com/muety/wakapi/models/summary.go:217.31,218.44 1 0 +github.com/muety/wakapi/models/summary.go:218.44,220.5 1 0 +github.com/muety/wakapi/models/summary.go:226.58,228.16 2 0 +github.com/muety/wakapi/models/summary.go:231.2,231.16 1 0 +github.com/muety/wakapi/models/summary.go:228.16,230.3 1 0 +github.com/muety/wakapi/models/summary.go:234.71,235.63 1 1 +github.com/muety/wakapi/models/summary.go:275.2,282.10 7 1 +github.com/muety/wakapi/models/summary.go:235.63,238.45 2 1 +github.com/muety/wakapi/models/summary.go:247.3,247.31 1 1 +github.com/muety/wakapi/models/summary.go:254.3,254.31 1 1 +github.com/muety/wakapi/models/summary.go:271.3,271.16 1 1 +github.com/muety/wakapi/models/summary.go:238.45,239.32 1 1 +github.com/muety/wakapi/models/summary.go:244.4,244.14 1 1 +github.com/muety/wakapi/models/summary.go:239.32,240.24 1 1 +github.com/muety/wakapi/models/summary.go:240.24,242.6 1 1 +github.com/muety/wakapi/models/summary.go:247.31,249.60 1 1 +github.com/muety/wakapi/models/summary.go:249.60,251.5 1 1 +github.com/muety/wakapi/models/summary.go:254.31,256.60 1 1 +github.com/muety/wakapi/models/summary.go:256.60,257.55 1 1 +github.com/muety/wakapi/models/summary.go:257.55,259.6 1 1 +github.com/muety/wakapi/models/summary.go:259.11,267.6 1 1 +github.com/muety/wakapi/models/summary.go:285.57,286.30 1 1 +github.com/muety/wakapi/models/summary.go:291.2,291.43 1 0 +github.com/muety/wakapi/models/summary.go:286.30,287.28 1 1 +github.com/muety/wakapi/models/summary.go:287.28,289.4 1 1 +github.com/muety/wakapi/models/summary.go:294.50,298.2 1 1 +github.com/muety/wakapi/models/summary.go:300.33,302.2 1 1 +github.com/muety/wakapi/models/summary.go:304.43,306.2 1 1 +github.com/muety/wakapi/models/summary.go:308.38,310.2 1 1 +github.com/muety/wakapi/models/user.go:11.13,13.2 1 1 +github.com/muety/wakapi/models/user.go:82.36,83.22 1 1 +github.com/muety/wakapi/models/user.go:86.2,87.16 2 1 +github.com/muety/wakapi/models/user.go:90.2,90.11 1 1 +github.com/muety/wakapi/models/user.go:83.22,85.3 1 1 +github.com/muety/wakapi/models/user.go:87.16,89.3 1 0 +github.com/muety/wakapi/models/user.go:93.41,96.2 2 1 +github.com/muety/wakapi/models/user.go:98.53,101.54 3 0 +github.com/muety/wakapi/models/user.go:104.2,104.51 1 0 +github.com/muety/wakapi/models/user.go:107.2,107.20 1 0 +github.com/muety/wakapi/models/user.go:101.54,103.3 1 0 +github.com/muety/wakapi/models/user.go:104.51,106.3 1 0 +github.com/muety/wakapi/models/user.go:110.43,113.2 1 0 +github.com/muety/wakapi/models/user.go:115.45,118.2 1 0 +github.com/muety/wakapi/models/user.go:120.33,125.2 1 0 +github.com/muety/wakapi/models/user.go:127.41,129.2 1 0 +github.com/muety/wakapi/models/user.go:131.45,133.2 1 0 +github.com/muety/wakapi/models/user.go:135.45,137.2 1 0 +github.com/muety/wakapi/models/user.go:139.39,141.2 1 0 +github.com/muety/wakapi/models/user.go:143.39,146.2 2 0 +github.com/muety/wakapi/models/alias.go:18.32,20.2 1 0 +github.com/muety/wakapi/models/alias.go:22.37,23.35 1 0 +github.com/muety/wakapi/models/alias.go:28.2,28.14 1 0 +github.com/muety/wakapi/models/alias.go:23.35,24.18 1 0 +github.com/muety/wakapi/models/alias.go:24.18,26.4 1 0 github.com/muety/wakapi/models/duration.go:23.55,36.2 2 0 github.com/muety/wakapi/models/duration.go:38.39,40.16 2 0 github.com/muety/wakapi/models/duration.go:43.2,44.10 2 0 @@ -29,144 +137,6 @@ github.com/muety/wakapi/models/durations.go:34.18,36.3 1 0 github.com/muety/wakapi/models/durations.go:40.38,42.18 1 0 github.com/muety/wakapi/models/durations.go:45.2,45.24 1 0 github.com/muety/wakapi/models/durations.go:42.18,44.3 1 0 -github.com/muety/wakapi/models/filters.go:17.56,18.16 1 0 -github.com/muety/wakapi/models/filters.go:32.2,32.19 1 0 -github.com/muety/wakapi/models/filters.go:19.22,20.32 1 0 -github.com/muety/wakapi/models/filters.go:21.17,22.27 1 0 -github.com/muety/wakapi/models/filters.go:23.23,24.33 1 0 -github.com/muety/wakapi/models/filters.go:25.21,26.31 1 0 -github.com/muety/wakapi/models/filters.go:27.22,28.32 1 0 -github.com/muety/wakapi/models/filters.go:29.20,30.30 1 0 -github.com/muety/wakapi/models/filters.go:35.47,36.21 1 1 -github.com/muety/wakapi/models/filters.go:49.2,49.21 1 1 -github.com/muety/wakapi/models/filters.go:36.21,38.3 1 1 -github.com/muety/wakapi/models/filters.go:38.8,38.23 1 1 -github.com/muety/wakapi/models/filters.go:38.23,40.3 1 0 -github.com/muety/wakapi/models/filters.go:40.8,40.29 1 1 -github.com/muety/wakapi/models/filters.go:40.29,42.3 1 1 -github.com/muety/wakapi/models/filters.go:42.8,42.27 1 1 -github.com/muety/wakapi/models/filters.go:42.27,44.3 1 0 -github.com/muety/wakapi/models/filters.go:44.8,44.28 1 1 -github.com/muety/wakapi/models/filters.go:44.28,46.3 1 0 -github.com/muety/wakapi/models/filters.go:46.8,46.26 1 1 -github.com/muety/wakapi/models/filters.go:46.26,48.3 1 0 -github.com/muety/wakapi/models/heartbeats.go:7.31,9.2 1 0 -github.com/muety/wakapi/models/heartbeats.go:11.41,13.2 1 0 -github.com/muety/wakapi/models/heartbeats.go:15.36,17.2 1 0 -github.com/muety/wakapi/models/heartbeats.go:19.43,22.2 2 0 -github.com/muety/wakapi/models/heartbeats.go:24.41,26.18 1 0 -github.com/muety/wakapi/models/heartbeats.go:29.2,29.16 1 0 -github.com/muety/wakapi/models/heartbeats.go:26.18,28.3 1 0 -github.com/muety/wakapi/models/heartbeats.go:32.40,34.18 1 0 -github.com/muety/wakapi/models/heartbeats.go:37.2,37.24 1 0 -github.com/muety/wakapi/models/heartbeats.go:34.18,36.3 1 0 -github.com/muety/wakapi/models/interval.go:39.47,40.23 1 0 -github.com/muety/wakapi/models/interval.go:45.2,45.14 1 0 -github.com/muety/wakapi/models/interval.go:40.23,41.13 1 0 -github.com/muety/wakapi/models/interval.go:41.13,43.4 1 0 -github.com/muety/wakapi/models/user.go:11.13,13.2 1 1 -github.com/muety/wakapi/models/user.go:82.36,83.22 1 1 -github.com/muety/wakapi/models/user.go:86.2,87.16 2 1 -github.com/muety/wakapi/models/user.go:90.2,90.11 1 1 -github.com/muety/wakapi/models/user.go:83.22,85.3 1 1 -github.com/muety/wakapi/models/user.go:87.16,89.3 1 0 -github.com/muety/wakapi/models/user.go:93.41,96.2 2 1 -github.com/muety/wakapi/models/user.go:98.53,101.54 3 0 -github.com/muety/wakapi/models/user.go:104.2,104.51 1 0 -github.com/muety/wakapi/models/user.go:107.2,107.20 1 0 -github.com/muety/wakapi/models/user.go:101.54,103.3 1 0 -github.com/muety/wakapi/models/user.go:104.51,106.3 1 0 -github.com/muety/wakapi/models/user.go:110.43,113.2 1 0 -github.com/muety/wakapi/models/user.go:115.45,118.2 1 0 -github.com/muety/wakapi/models/user.go:120.33,125.2 1 0 -github.com/muety/wakapi/models/user.go:127.41,129.2 1 0 -github.com/muety/wakapi/models/user.go:131.45,133.2 1 0 -github.com/muety/wakapi/models/user.go:135.45,137.2 1 0 -github.com/muety/wakapi/models/user.go:139.39,141.2 1 0 -github.com/muety/wakapi/models/user.go:143.39,146.2 2 0 -github.com/muety/wakapi/models/mail.go:19.44,23.2 3 0 -github.com/muety/wakapi/models/mail.go:25.44,29.2 3 0 -github.com/muety/wakapi/models/mail.go:31.32,44.2 1 0 -github.com/muety/wakapi/models/mail.go:46.41,48.2 1 0 -github.com/muety/wakapi/models/summary.go:62.29,64.2 1 1 -github.com/muety/wakapi/models/summary.go:66.35,68.2 1 0 -github.com/muety/wakapi/models/summary.go:70.37,78.2 7 1 -github.com/muety/wakapi/models/summary.go:80.35,82.2 1 1 -github.com/muety/wakapi/models/summary.go:84.57,93.2 1 1 -github.com/muety/wakapi/models/summary.go:95.64,97.2 1 0 -github.com/muety/wakapi/models/summary.go:110.33,115.26 4 1 -github.com/muety/wakapi/models/summary.go:122.2,122.37 1 1 -github.com/muety/wakapi/models/summary.go:127.2,128.16 2 1 -github.com/muety/wakapi/models/summary.go:131.2,131.33 1 1 -github.com/muety/wakapi/models/summary.go:115.26,116.30 1 1 -github.com/muety/wakapi/models/summary.go:116.30,118.4 1 1 -github.com/muety/wakapi/models/summary.go:122.37,124.3 1 0 -github.com/muety/wakapi/models/summary.go:128.16,130.3 1 0 -github.com/muety/wakapi/models/summary.go:131.33,133.3 1 1 -github.com/muety/wakapi/models/summary.go:137.56,143.28 5 1 -github.com/muety/wakapi/models/summary.go:147.2,148.42 2 1 -github.com/muety/wakapi/models/summary.go:155.2,156.15 2 1 -github.com/muety/wakapi/models/summary.go:143.28,145.3 1 1 -github.com/muety/wakapi/models/summary.go:148.42,149.22 1 0 -github.com/muety/wakapi/models/summary.go:149.22,151.9 2 0 -github.com/muety/wakapi/models/summary.go:156.15,157.28 1 1 -github.com/muety/wakapi/models/summary.go:157.28,159.4 1 0 -github.com/muety/wakapi/models/summary.go:159.9,165.4 1 1 -github.com/muety/wakapi/models/summary.go:169.45,174.16 4 0 -github.com/muety/wakapi/models/summary.go:177.2,177.39 1 0 -github.com/muety/wakapi/models/summary.go:181.2,181.30 1 0 -github.com/muety/wakapi/models/summary.go:174.16,176.3 1 0 -github.com/muety/wakapi/models/summary.go:177.39,179.3 1 0 -github.com/muety/wakapi/models/summary.go:184.73,186.55 2 1 -github.com/muety/wakapi/models/summary.go:191.2,191.16 1 1 -github.com/muety/wakapi/models/summary.go:186.55,187.31 1 1 -github.com/muety/wakapi/models/summary.go:187.31,189.4 1 1 -github.com/muety/wakapi/models/summary.go:194.88,196.55 2 1 -github.com/muety/wakapi/models/summary.go:204.2,204.16 1 1 -github.com/muety/wakapi/models/summary.go:196.55,197.31 1 1 -github.com/muety/wakapi/models/summary.go:197.31,198.23 1 1 -github.com/muety/wakapi/models/summary.go:201.4,201.46 1 1 -github.com/muety/wakapi/models/summary.go:198.23,199.13 1 1 -github.com/muety/wakapi/models/summary.go:207.70,209.8 2 1 -github.com/muety/wakapi/models/summary.go:212.2,212.10 1 1 -github.com/muety/wakapi/models/summary.go:209.8,211.3 1 1 -github.com/muety/wakapi/models/summary.go:215.56,218.55 3 0 -github.com/muety/wakapi/models/summary.go:225.2,225.12 1 0 -github.com/muety/wakapi/models/summary.go:218.55,219.31 1 0 -github.com/muety/wakapi/models/summary.go:219.31,220.44 1 0 -github.com/muety/wakapi/models/summary.go:220.44,222.5 1 0 -github.com/muety/wakapi/models/summary.go:228.58,230.16 2 0 -github.com/muety/wakapi/models/summary.go:233.2,233.16 1 0 -github.com/muety/wakapi/models/summary.go:230.16,232.3 1 0 -github.com/muety/wakapi/models/summary.go:236.71,237.63 1 1 -github.com/muety/wakapi/models/summary.go:277.2,284.10 7 1 -github.com/muety/wakapi/models/summary.go:237.63,240.45 2 1 -github.com/muety/wakapi/models/summary.go:249.3,249.31 1 1 -github.com/muety/wakapi/models/summary.go:256.3,256.31 1 1 -github.com/muety/wakapi/models/summary.go:273.3,273.16 1 1 -github.com/muety/wakapi/models/summary.go:240.45,241.32 1 1 -github.com/muety/wakapi/models/summary.go:246.4,246.14 1 1 -github.com/muety/wakapi/models/summary.go:241.32,242.24 1 1 -github.com/muety/wakapi/models/summary.go:242.24,244.6 1 1 -github.com/muety/wakapi/models/summary.go:249.31,251.60 1 1 -github.com/muety/wakapi/models/summary.go:251.60,253.5 1 1 -github.com/muety/wakapi/models/summary.go:256.31,258.60 1 1 -github.com/muety/wakapi/models/summary.go:258.60,259.55 1 1 -github.com/muety/wakapi/models/summary.go:259.55,261.6 1 1 -github.com/muety/wakapi/models/summary.go:261.11,269.6 1 1 -github.com/muety/wakapi/models/summary.go:287.57,288.30 1 1 -github.com/muety/wakapi/models/summary.go:293.2,293.43 1 0 -github.com/muety/wakapi/models/summary.go:288.30,289.28 1 1 -github.com/muety/wakapi/models/summary.go:289.28,291.4 1 1 -github.com/muety/wakapi/models/summary.go:296.50,300.2 1 1 -github.com/muety/wakapi/models/summary.go:302.33,304.2 1 1 -github.com/muety/wakapi/models/summary.go:306.43,308.2 1 1 -github.com/muety/wakapi/models/summary.go:310.38,312.2 1 1 -github.com/muety/wakapi/models/alias.go:12.32,14.2 1 0 -github.com/muety/wakapi/models/alias.go:16.37,17.35 1 0 -github.com/muety/wakapi/models/alias.go:22.2,22.14 1 0 -github.com/muety/wakapi/models/alias.go:17.35,18.18 1 0 -github.com/muety/wakapi/models/alias.go:18.18,20.4 1 0 github.com/muety/wakapi/models/heartbeat.go:33.34,35.2 1 1 github.com/muety/wakapi/models/heartbeat.go:37.65,39.46 2 1 github.com/muety/wakapi/models/heartbeat.go:39.46,40.108 1 1 @@ -184,6 +154,7 @@ github.com/muety/wakapi/models/heartbeat.go:68.37,84.2 1 0 github.com/muety/wakapi/models/heartbeat.go:92.41,94.16 2 0 github.com/muety/wakapi/models/heartbeat.go:97.2,98.10 2 0 github.com/muety/wakapi/models/heartbeat.go:94.16,96.3 1 0 +github.com/muety/wakapi/models/project_label.go:14.39,16.2 1 0 github.com/muety/wakapi/models/mail_address.go:15.13,18.2 2 1 github.com/muety/wakapi/models/mail_address.go:24.38,26.2 1 0 github.com/muety/wakapi/models/mail_address.go:28.35,30.21 2 1 @@ -202,7 +173,7 @@ github.com/muety/wakapi/models/mail_address.go:59.40,60.22 1 1 github.com/muety/wakapi/models/mail_address.go:65.2,65.13 1 1 github.com/muety/wakapi/models/mail_address.go:60.22,61.17 1 1 github.com/muety/wakapi/models/mail_address.go:61.17,63.4 1 1 -github.com/muety/wakapi/models/project_label.go:11.39,13.2 1 0 +github.com/muety/wakapi/models/models.go:3.14,5.2 0 1 github.com/muety/wakapi/models/shared.go:35.52,37.2 1 0 github.com/muety/wakapi/models/shared.go:39.52,42.16 3 0 github.com/muety/wakapi/models/shared.go:45.2,47.12 3 0 @@ -218,149 +189,113 @@ github.com/muety/wakapi/models/shared.go:82.45,84.2 1 0 github.com/muety/wakapi/models/shared.go:86.37,88.2 1 0 github.com/muety/wakapi/models/shared.go:90.35,92.2 1 0 github.com/muety/wakapi/models/shared.go:94.34,96.2 1 0 -github.com/muety/wakapi/config/db.go:39.50,40.19 1 0 -github.com/muety/wakapi/config/db.go:53.2,53.12 1 0 -github.com/muety/wakapi/config/db.go:41.23,45.5 1 0 -github.com/muety/wakapi/config/db.go:46.26,49.5 1 0 -github.com/muety/wakapi/config/db.go:50.24,51.48 1 0 -github.com/muety/wakapi/config/db.go:56.53,66.2 1 1 -github.com/muety/wakapi/config/db.go:68.56,70.16 2 1 -github.com/muety/wakapi/config/db.go:74.2,81.3 1 1 -github.com/muety/wakapi/config/db.go:70.16,72.3 1 0 -github.com/muety/wakapi/config/db.go:84.54,86.2 1 1 -github.com/muety/wakapi/config/eventbus.go:26.13,28.2 1 1 -github.com/muety/wakapi/config/eventbus.go:30.26,32.2 1 0 -github.com/muety/wakapi/config/fs.go:9.56,10.19 1 0 -github.com/muety/wakapi/config/fs.go:13.2,13.19 1 0 -github.com/muety/wakapi/config/fs.go:10.19,12.3 1 0 -github.com/muety/wakapi/config/sentry.go:22.35,24.2 1 0 -github.com/muety/wakapi/config/sentry.go:26.62,29.2 2 0 -github.com/muety/wakapi/config/sentry.go:39.33,46.2 2 0 -github.com/muety/wakapi/config/sentry.go:48.79,51.2 2 0 -github.com/muety/wakapi/config/sentry.go:53.72,57.2 3 0 -github.com/muety/wakapi/config/sentry.go:59.71,63.2 3 0 -github.com/muety/wakapi/config/sentry.go:65.71,69.2 3 0 -github.com/muety/wakapi/config/sentry.go:71.72,75.2 3 0 -github.com/muety/wakapi/config/sentry.go:77.72,81.2 3 0 -github.com/muety/wakapi/config/sentry.go:83.67,88.18 4 0 -github.com/muety/wakapi/config/sentry.go:100.2,100.28 1 0 -github.com/muety/wakapi/config/sentry.go:88.18,89.65 1 0 -github.com/muety/wakapi/config/sentry.go:89.65,92.42 3 0 -github.com/muety/wakapi/config/sentry.go:95.4,96.10 2 0 -github.com/muety/wakapi/config/sentry.go:92.42,94.5 1 0 -github.com/muety/wakapi/config/sentry.go:110.50,114.91 1 0 -github.com/muety/wakapi/config/sentry.go:114.91,115.29 1 0 -github.com/muety/wakapi/config/sentry.go:119.4,122.38 3 0 -github.com/muety/wakapi/config/sentry.go:127.4,127.39 1 0 -github.com/muety/wakapi/config/sentry.go:130.4,130.69 1 0 -github.com/muety/wakapi/config/sentry.go:115.29,117.5 1 0 -github.com/muety/wakapi/config/sentry.go:122.38,123.38 1 0 -github.com/muety/wakapi/config/sentry.go:123.38,125.6 1 0 -github.com/muety/wakapi/config/sentry.go:127.39,129.5 1 0 -github.com/muety/wakapi/config/sentry.go:132.79,133.27 1 0 -github.com/muety/wakapi/config/sentry.go:140.4,140.16 1 0 -github.com/muety/wakapi/config/sentry.go:133.27,134.84 1 0 -github.com/muety/wakapi/config/sentry.go:134.84,135.42 1 0 -github.com/muety/wakapi/config/sentry.go:135.42,137.7 1 0 -github.com/muety/wakapi/config/sentry.go:142.17,144.3 1 0 -github.com/muety/wakapi/config/sentry.go:147.49,151.51 2 0 -github.com/muety/wakapi/config/sentry.go:154.2,154.12 1 0 -github.com/muety/wakapi/config/sentry.go:151.51,153.3 1 0 -github.com/muety/wakapi/config/utils.go:5.78,7.22 2 0 -github.com/muety/wakapi/config/utils.go:13.2,13.11 1 0 -github.com/muety/wakapi/config/utils.go:7.22,8.18 1 0 -github.com/muety/wakapi/config/utils.go:11.3,11.12 1 0 -github.com/muety/wakapi/config/utils.go:8.18,10.4 1 0 -github.com/muety/wakapi/config/config.go:153.70,155.2 1 0 -github.com/muety/wakapi/config/config.go:157.65,159.2 1 0 -github.com/muety/wakapi/config/config.go:161.82,171.2 1 0 -github.com/muety/wakapi/config/config.go:173.31,175.2 1 0 -github.com/muety/wakapi/config/config.go:177.32,179.2 1 0 -github.com/muety/wakapi/config/config.go:181.74,182.19 1 0 -github.com/muety/wakapi/config/config.go:183.10,184.34 1 0 -github.com/muety/wakapi/config/config.go:184.34,185.90 1 0 -github.com/muety/wakapi/config/config.go:188.4,188.100 1 0 -github.com/muety/wakapi/config/config.go:191.4,191.91 1 0 -github.com/muety/wakapi/config/config.go:194.4,194.95 1 0 -github.com/muety/wakapi/config/config.go:197.4,197.93 1 0 -github.com/muety/wakapi/config/config.go:200.4,200.97 1 0 -github.com/muety/wakapi/config/config.go:203.4,203.101 1 0 -github.com/muety/wakapi/config/config.go:206.4,206.98 1 0 -github.com/muety/wakapi/config/config.go:209.4,209.97 1 0 -github.com/muety/wakapi/config/config.go:212.4,212.14 1 0 -github.com/muety/wakapi/config/config.go:185.90,187.5 1 0 -github.com/muety/wakapi/config/config.go:188.100,190.5 1 0 -github.com/muety/wakapi/config/config.go:191.91,193.5 1 0 -github.com/muety/wakapi/config/config.go:194.95,196.5 1 0 -github.com/muety/wakapi/config/config.go:197.93,199.5 1 0 -github.com/muety/wakapi/config/config.go:200.97,202.5 1 0 -github.com/muety/wakapi/config/config.go:203.101,205.5 1 0 -github.com/muety/wakapi/config/config.go:206.98,208.5 1 0 -github.com/muety/wakapi/config/config.go:209.97,211.5 1 0 -github.com/muety/wakapi/config/config.go:217.60,219.2 1 0 -github.com/muety/wakapi/config/config.go:221.59,223.2 1 0 -github.com/muety/wakapi/config/config.go:225.57,227.2 1 0 -github.com/muety/wakapi/config/config.go:229.53,231.2 1 0 -github.com/muety/wakapi/config/config.go:233.55,236.2 2 0 -github.com/muety/wakapi/config/config.go:238.50,240.2 1 0 -github.com/muety/wakapi/config/config.go:242.36,244.2 1 0 -github.com/muety/wakapi/config/config.go:246.35,248.2 1 0 -github.com/muety/wakapi/config/config.go:250.38,252.2 1 0 -github.com/muety/wakapi/config/config.go:254.46,256.2 1 0 -github.com/muety/wakapi/config/config.go:258.43,260.2 1 0 -github.com/muety/wakapi/config/config.go:262.29,264.2 1 1 -github.com/muety/wakapi/config/config.go:266.48,277.16 2 0 -github.com/muety/wakapi/config/config.go:281.2,282.53 2 0 -github.com/muety/wakapi/config/config.go:286.2,286.15 1 0 -github.com/muety/wakapi/config/config.go:277.16,279.3 1 0 -github.com/muety/wakapi/config/config.go:282.53,284.3 1 0 -github.com/muety/wakapi/config/config.go:289.38,290.43 1 0 -github.com/muety/wakapi/config/config.go:293.2,293.15 1 0 -github.com/muety/wakapi/config/config.go:290.43,292.3 1 0 -github.com/muety/wakapi/config/config.go:296.45,297.27 1 0 -github.com/muety/wakapi/config/config.go:300.2,300.24 1 0 -github.com/muety/wakapi/config/config.go:303.2,303.25 1 0 -github.com/muety/wakapi/config/config.go:306.2,306.15 1 0 -github.com/muety/wakapi/config/config.go:297.27,299.3 1 0 -github.com/muety/wakapi/config/config.go:300.24,302.3 1 0 -github.com/muety/wakapi/config/config.go:303.25,305.3 1 0 -github.com/muety/wakapi/config/config.go:309.77,310.29 1 0 -github.com/muety/wakapi/config/config.go:315.2,315.19 1 0 -github.com/muety/wakapi/config/config.go:310.29,311.18 1 0 -github.com/muety/wakapi/config/config.go:311.18,313.4 1 0 -github.com/muety/wakapi/config/config.go:318.42,319.28 1 0 -github.com/muety/wakapi/config/config.go:335.2,335.20 1 0 -github.com/muety/wakapi/config/config.go:320.52,321.21 1 0 -github.com/muety/wakapi/config/config.go:322.53,323.22 1 0 -github.com/muety/wakapi/config/config.go:324.55,325.24 1 0 -github.com/muety/wakapi/config/config.go:326.54,327.23 1 0 -github.com/muety/wakapi/config/config.go:328.52,329.21 1 0 -github.com/muety/wakapi/config/config.go:330.54,331.23 1 0 -github.com/muety/wakapi/config/config.go:332.52,333.21 1 0 -github.com/muety/wakapi/config/config.go:338.26,340.2 1 0 -github.com/muety/wakapi/config/config.go:342.20,344.2 1 0 -github.com/muety/wakapi/config/config.go:346.35,351.96 3 0 -github.com/muety/wakapi/config/config.go:355.2,364.52 6 0 -github.com/muety/wakapi/config/config.go:368.2,368.47 1 0 -github.com/muety/wakapi/config/config.go:374.2,374.29 1 0 -github.com/muety/wakapi/config/config.go:380.2,380.106 1 0 -github.com/muety/wakapi/config/config.go:383.2,383.28 1 0 -github.com/muety/wakapi/config/config.go:386.2,386.51 1 0 -github.com/muety/wakapi/config/config.go:390.2,390.94 1 0 -github.com/muety/wakapi/config/config.go:393.2,393.81 1 0 -github.com/muety/wakapi/config/config.go:396.2,396.75 1 0 -github.com/muety/wakapi/config/config.go:400.2,401.14 2 0 -github.com/muety/wakapi/config/config.go:351.96,353.3 1 0 -github.com/muety/wakapi/config/config.go:364.52,366.3 1 0 -github.com/muety/wakapi/config/config.go:368.47,369.14 1 0 -github.com/muety/wakapi/config/config.go:369.14,371.4 1 0 -github.com/muety/wakapi/config/config.go:374.29,377.3 2 0 -github.com/muety/wakapi/config/config.go:380.106,382.3 1 0 -github.com/muety/wakapi/config/config.go:383.28,385.3 1 0 -github.com/muety/wakapi/config/config.go:386.51,389.3 2 0 -github.com/muety/wakapi/config/config.go:390.94,392.3 1 0 -github.com/muety/wakapi/config/config.go:393.81,395.3 1 0 -github.com/muety/wakapi/config/config.go:396.75,398.3 1 0 +github.com/muety/wakapi/models/filters.go:20.33,22.2 1 1 +github.com/muety/wakapi/models/filters.go:24.48,25.22 1 1 +github.com/muety/wakapi/models/filters.go:30.2,30.14 1 1 +github.com/muety/wakapi/models/filters.go:25.22,26.18 1 1 +github.com/muety/wakapi/models/filters.go:26.18,28.4 1 1 +github.com/muety/wakapi/models/filters.go:38.56,40.2 1 1 +github.com/muety/wakapi/models/filters.go:42.66,45.2 2 1 +github.com/muety/wakapi/models/filters.go:47.59,49.2 1 1 +github.com/muety/wakapi/models/filters.go:51.70,52.16 1 1 +github.com/muety/wakapi/models/filters.go:66.2,66.10 1 1 +github.com/muety/wakapi/models/filters.go:53.22,54.41 1 1 +github.com/muety/wakapi/models/filters.go:55.17,56.31 1 0 +github.com/muety/wakapi/models/filters.go:57.23,58.43 1 1 +github.com/muety/wakapi/models/filters.go:59.21,60.39 1 0 +github.com/muety/wakapi/models/filters.go:61.22,62.41 1 0 +github.com/muety/wakapi/models/filters.go:63.20,64.37 1 1 +github.com/muety/wakapi/models/filters.go:69.49,70.44 1 1 +github.com/muety/wakapi/models/filters.go:83.2,83.29 1 1 +github.com/muety/wakapi/models/filters.go:70.44,72.3 1 1 +github.com/muety/wakapi/models/filters.go:72.8,72.41 1 1 +github.com/muety/wakapi/models/filters.go:72.41,74.3 1 0 +github.com/muety/wakapi/models/filters.go:74.8,74.53 1 1 +github.com/muety/wakapi/models/filters.go:74.53,76.3 1 1 +github.com/muety/wakapi/models/filters.go:76.8,76.49 1 1 +github.com/muety/wakapi/models/filters.go:76.49,78.3 1 0 +github.com/muety/wakapi/models/filters.go:78.8,78.51 1 1 +github.com/muety/wakapi/models/filters.go:78.51,80.3 1 0 +github.com/muety/wakapi/models/filters.go:80.8,80.47 1 1 +github.com/muety/wakapi/models/filters.go:80.47,82.3 1 0 +github.com/muety/wakapi/models/filters.go:86.46,87.30 1 1 +github.com/muety/wakapi/models/filters.go:90.2,90.24 1 0 +github.com/muety/wakapi/models/filters.go:87.30,89.3 1 1 +github.com/muety/wakapi/models/filters.go:93.34,96.2 2 1 +github.com/muety/wakapi/models/filters.go:98.33,100.16 2 0 +github.com/muety/wakapi/models/filters.go:103.2,103.32 1 0 +github.com/muety/wakapi/models/filters.go:100.16,102.3 1 0 +github.com/muety/wakapi/models/filters.go:106.44,112.2 1 1 +github.com/muety/wakapi/models/filters.go:115.70,116.22 1 1 +github.com/muety/wakapi/models/filters.go:124.2,124.17 1 1 +github.com/muety/wakapi/models/filters.go:132.2,132.23 1 1 +github.com/muety/wakapi/models/filters.go:140.2,140.21 1 1 +github.com/muety/wakapi/models/filters.go:148.2,148.22 1 1 +github.com/muety/wakapi/models/filters.go:156.2,156.10 1 1 +github.com/muety/wakapi/models/filters.go:116.22,118.31 2 1 +github.com/muety/wakapi/models/filters.go:122.3,122.22 1 1 +github.com/muety/wakapi/models/filters.go:118.31,121.4 2 1 +github.com/muety/wakapi/models/filters.go:124.17,126.26 2 0 +github.com/muety/wakapi/models/filters.go:130.3,130.17 1 0 +github.com/muety/wakapi/models/filters.go:126.26,129.4 2 0 +github.com/muety/wakapi/models/filters.go:132.23,134.32 2 1 +github.com/muety/wakapi/models/filters.go:138.3,138.23 1 1 +github.com/muety/wakapi/models/filters.go:134.32,137.4 2 1 +github.com/muety/wakapi/models/filters.go:140.21,142.30 2 0 +github.com/muety/wakapi/models/filters.go:146.3,146.21 1 0 +github.com/muety/wakapi/models/filters.go:142.30,145.4 2 0 +github.com/muety/wakapi/models/filters.go:148.22,150.31 2 0 +github.com/muety/wakapi/models/filters.go:154.3,154.22 1 0 +github.com/muety/wakapi/models/filters.go:150.31,153.4 2 0 +github.com/muety/wakapi/models/filters.go:159.83,160.41 1 1 +github.com/muety/wakapi/models/filters.go:163.2,163.28 1 1 +github.com/muety/wakapi/models/filters.go:166.2,166.10 1 1 +github.com/muety/wakapi/models/filters.go:160.41,162.3 1 0 +github.com/muety/wakapi/models/filters.go:163.28,165.3 1 1 +github.com/muety/wakapi/models/interval.go:39.47,40.23 1 0 +github.com/muety/wakapi/models/interval.go:45.2,45.14 1 0 +github.com/muety/wakapi/models/interval.go:40.23,41.13 1 0 +github.com/muety/wakapi/models/interval.go:41.13,43.4 1 0 +github.com/muety/wakapi/models/mail.go:19.44,23.2 3 0 +github.com/muety/wakapi/models/mail.go:25.44,29.2 3 0 +github.com/muety/wakapi/models/mail.go:31.32,44.2 1 0 +github.com/muety/wakapi/models/mail.go:46.41,48.2 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:30.91,36.2 1 1 +github.com/muety/wakapi/middlewares/authenticate.go:38.90,41.2 2 0 +github.com/muety/wakapi/middlewares/authenticate.go:43.90,46.2 2 0 +github.com/muety/wakapi/middlewares/authenticate.go:48.71,49.71 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:49.71,51.3 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:54.107,58.16 3 0 +github.com/muety/wakapi/middlewares/authenticate.go:61.2,61.16 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:65.2,65.31 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:81.2,82.12 2 0 +github.com/muety/wakapi/middlewares/authenticate.go:58.16,60.3 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:61.16,63.3 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:65.31,66.31 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:71.3,71.29 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:78.3,78.9 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:66.31,69.4 2 0 +github.com/muety/wakapi/middlewares/authenticate.go:71.29,74.4 2 0 +github.com/muety/wakapi/middlewares/authenticate.go:74.9,77.4 2 0 +github.com/muety/wakapi/middlewares/authenticate.go:85.70,86.39 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:91.2,91.14 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:86.39,87.60 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:87.60,89.4 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:94.98,96.16 2 1 +github.com/muety/wakapi/middlewares/authenticate.go:100.2,103.16 4 1 +github.com/muety/wakapi/middlewares/authenticate.go:106.2,106.18 1 1 +github.com/muety/wakapi/middlewares/authenticate.go:96.16,98.3 1 1 +github.com/muety/wakapi/middlewares/authenticate.go:103.16,105.3 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:109.97,113.19 4 1 +github.com/muety/wakapi/middlewares/authenticate.go:116.2,117.16 2 1 +github.com/muety/wakapi/middlewares/authenticate.go:120.2,120.18 1 1 +github.com/muety/wakapi/middlewares/authenticate.go:113.19,115.3 1 1 +github.com/muety/wakapi/middlewares/authenticate.go:117.16,119.3 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:123.92,125.16 2 0 +github.com/muety/wakapi/middlewares/authenticate.go:129.2,130.16 2 0 +github.com/muety/wakapi/middlewares/authenticate.go:137.2,137.18 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:125.16,127.3 1 0 +github.com/muety/wakapi/middlewares/authenticate.go:130.16,132.3 1 0 github.com/muety/wakapi/middlewares/filetype.go:13.83,14.43 1 0 github.com/muety/wakapi/middlewares/filetype.go:14.43,19.3 1 0 github.com/muety/wakapi/middlewares/filetype.go:22.84,24.34 2 0 @@ -415,65 +350,171 @@ github.com/muety/wakapi/middlewares/sentry.go:16.43,20.3 1 0 github.com/muety/wakapi/middlewares/sentry.go:23.78,26.54 3 0 github.com/muety/wakapi/middlewares/sentry.go:26.54,27.43 1 0 github.com/muety/wakapi/middlewares/sentry.go:27.43,29.4 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:30.91,36.2 1 1 -github.com/muety/wakapi/middlewares/authenticate.go:38.90,41.2 2 0 -github.com/muety/wakapi/middlewares/authenticate.go:43.90,46.2 2 0 -github.com/muety/wakapi/middlewares/authenticate.go:48.71,49.71 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:49.71,51.3 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:54.107,58.16 3 0 -github.com/muety/wakapi/middlewares/authenticate.go:61.2,61.16 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:65.2,65.31 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:81.2,82.12 2 0 -github.com/muety/wakapi/middlewares/authenticate.go:58.16,60.3 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:61.16,63.3 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:65.31,66.31 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:71.3,71.29 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:78.3,78.9 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:66.31,69.4 2 0 -github.com/muety/wakapi/middlewares/authenticate.go:71.29,74.4 2 0 -github.com/muety/wakapi/middlewares/authenticate.go:74.9,77.4 2 0 -github.com/muety/wakapi/middlewares/authenticate.go:85.70,86.39 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:91.2,91.14 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:86.39,87.60 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:87.60,89.4 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:94.98,96.16 2 1 -github.com/muety/wakapi/middlewares/authenticate.go:100.2,103.16 4 1 -github.com/muety/wakapi/middlewares/authenticate.go:106.2,106.18 1 1 -github.com/muety/wakapi/middlewares/authenticate.go:96.16,98.3 1 1 -github.com/muety/wakapi/middlewares/authenticate.go:103.16,105.3 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:109.97,113.19 4 1 -github.com/muety/wakapi/middlewares/authenticate.go:116.2,117.16 2 1 -github.com/muety/wakapi/middlewares/authenticate.go:120.2,120.18 1 1 -github.com/muety/wakapi/middlewares/authenticate.go:113.19,115.3 1 1 -github.com/muety/wakapi/middlewares/authenticate.go:117.16,119.3 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:123.92,125.16 2 0 -github.com/muety/wakapi/middlewares/authenticate.go:129.2,130.16 2 0 -github.com/muety/wakapi/middlewares/authenticate.go:137.2,137.18 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:125.16,127.3 1 0 -github.com/muety/wakapi/middlewares/authenticate.go:130.16,132.3 1 0 -github.com/muety/wakapi/utils/template.go:13.41,15.16 2 0 -github.com/muety/wakapi/utils/template.go:18.2,18.23 1 0 -github.com/muety/wakapi/utils/template.go:15.16,17.3 1 0 -github.com/muety/wakapi/utils/template.go:21.37,22.30 1 0 -github.com/muety/wakapi/utils/template.go:25.2,25.10 1 0 -github.com/muety/wakapi/utils/template.go:22.30,24.3 1 0 -github.com/muety/wakapi/utils/template.go:28.83,33.16 4 0 -github.com/muety/wakapi/utils/template.go:37.2,37.29 1 0 -github.com/muety/wakapi/utils/template.go:62.2,62.23 1 0 -github.com/muety/wakapi/utils/template.go:33.16,35.3 1 0 -github.com/muety/wakapi/utils/template.go:37.29,39.51 2 0 -github.com/muety/wakapi/utils/template.go:43.3,44.17 2 0 -github.com/muety/wakapi/utils/template.go:47.3,48.17 2 0 -github.com/muety/wakapi/utils/template.go:52.3,55.17 3 0 -github.com/muety/wakapi/utils/template.go:59.3,59.27 1 0 -github.com/muety/wakapi/utils/template.go:39.51,40.12 1 0 -github.com/muety/wakapi/utils/template.go:44.17,46.4 1 0 -github.com/muety/wakapi/utils/template.go:48.17,50.4 1 0 -github.com/muety/wakapi/utils/template.go:55.17,57.4 1 0 -github.com/muety/wakapi/utils/color.go:8.90,10.32 2 0 -github.com/muety/wakapi/utils/color.go:15.2,15.15 1 0 -github.com/muety/wakapi/utils/color.go:10.32,11.50 1 0 -github.com/muety/wakapi/utils/color.go:11.50,13.4 1 0 +github.com/muety/wakapi/config/config.go:154.70,156.2 1 0 +github.com/muety/wakapi/config/config.go:158.65,160.2 1 0 +github.com/muety/wakapi/config/config.go:162.82,172.2 1 0 +github.com/muety/wakapi/config/config.go:174.31,176.2 1 0 +github.com/muety/wakapi/config/config.go:178.32,180.2 1 0 +github.com/muety/wakapi/config/config.go:182.74,183.19 1 0 +github.com/muety/wakapi/config/config.go:184.10,185.34 1 0 +github.com/muety/wakapi/config/config.go:185.34,186.90 1 0 +github.com/muety/wakapi/config/config.go:189.4,189.100 1 0 +github.com/muety/wakapi/config/config.go:192.4,192.91 1 0 +github.com/muety/wakapi/config/config.go:195.4,195.95 1 0 +github.com/muety/wakapi/config/config.go:198.4,198.93 1 0 +github.com/muety/wakapi/config/config.go:201.4,201.97 1 0 +github.com/muety/wakapi/config/config.go:204.4,204.101 1 0 +github.com/muety/wakapi/config/config.go:207.4,207.98 1 0 +github.com/muety/wakapi/config/config.go:210.4,210.97 1 0 +github.com/muety/wakapi/config/config.go:213.4,213.14 1 0 +github.com/muety/wakapi/config/config.go:186.90,188.5 1 0 +github.com/muety/wakapi/config/config.go:189.100,191.5 1 0 +github.com/muety/wakapi/config/config.go:192.91,194.5 1 0 +github.com/muety/wakapi/config/config.go:195.95,197.5 1 0 +github.com/muety/wakapi/config/config.go:198.93,200.5 1 0 +github.com/muety/wakapi/config/config.go:201.97,203.5 1 0 +github.com/muety/wakapi/config/config.go:204.101,206.5 1 0 +github.com/muety/wakapi/config/config.go:207.98,209.5 1 0 +github.com/muety/wakapi/config/config.go:210.97,212.5 1 0 +github.com/muety/wakapi/config/config.go:218.60,220.2 1 0 +github.com/muety/wakapi/config/config.go:222.59,224.2 1 0 +github.com/muety/wakapi/config/config.go:226.57,228.2 1 0 +github.com/muety/wakapi/config/config.go:230.53,232.2 1 0 +github.com/muety/wakapi/config/config.go:234.55,237.2 2 0 +github.com/muety/wakapi/config/config.go:239.50,241.2 1 0 +github.com/muety/wakapi/config/config.go:243.36,245.2 1 0 +github.com/muety/wakapi/config/config.go:247.35,249.2 1 0 +github.com/muety/wakapi/config/config.go:251.38,253.2 1 0 +github.com/muety/wakapi/config/config.go:255.46,257.2 1 0 +github.com/muety/wakapi/config/config.go:259.43,261.2 1 0 +github.com/muety/wakapi/config/config.go:263.29,265.2 1 1 +github.com/muety/wakapi/config/config.go:267.48,278.16 2 0 +github.com/muety/wakapi/config/config.go:282.2,283.53 2 0 +github.com/muety/wakapi/config/config.go:287.2,287.15 1 0 +github.com/muety/wakapi/config/config.go:278.16,280.3 1 0 +github.com/muety/wakapi/config/config.go:283.53,285.3 1 0 +github.com/muety/wakapi/config/config.go:290.38,291.43 1 0 +github.com/muety/wakapi/config/config.go:294.2,294.15 1 0 +github.com/muety/wakapi/config/config.go:291.43,293.3 1 0 +github.com/muety/wakapi/config/config.go:297.45,298.27 1 0 +github.com/muety/wakapi/config/config.go:301.2,301.24 1 0 +github.com/muety/wakapi/config/config.go:304.2,304.25 1 0 +github.com/muety/wakapi/config/config.go:307.2,307.15 1 0 +github.com/muety/wakapi/config/config.go:298.27,300.3 1 0 +github.com/muety/wakapi/config/config.go:301.24,303.3 1 0 +github.com/muety/wakapi/config/config.go:304.25,306.3 1 0 +github.com/muety/wakapi/config/config.go:310.77,311.29 1 0 +github.com/muety/wakapi/config/config.go:316.2,316.19 1 0 +github.com/muety/wakapi/config/config.go:311.29,312.18 1 0 +github.com/muety/wakapi/config/config.go:312.18,314.4 1 0 +github.com/muety/wakapi/config/config.go:319.42,320.28 1 0 +github.com/muety/wakapi/config/config.go:336.2,336.20 1 0 +github.com/muety/wakapi/config/config.go:321.52,322.21 1 0 +github.com/muety/wakapi/config/config.go:323.53,324.22 1 0 +github.com/muety/wakapi/config/config.go:325.55,326.24 1 0 +github.com/muety/wakapi/config/config.go:327.54,328.23 1 0 +github.com/muety/wakapi/config/config.go:329.52,330.21 1 0 +github.com/muety/wakapi/config/config.go:331.54,332.23 1 0 +github.com/muety/wakapi/config/config.go:333.52,334.21 1 0 +github.com/muety/wakapi/config/config.go:339.26,341.2 1 0 +github.com/muety/wakapi/config/config.go:343.20,345.2 1 0 +github.com/muety/wakapi/config/config.go:347.35,352.96 3 0 +github.com/muety/wakapi/config/config.go:356.2,365.52 6 0 +github.com/muety/wakapi/config/config.go:369.2,369.47 1 0 +github.com/muety/wakapi/config/config.go:375.2,375.29 1 0 +github.com/muety/wakapi/config/config.go:381.2,381.106 1 0 +github.com/muety/wakapi/config/config.go:384.2,384.28 1 0 +github.com/muety/wakapi/config/config.go:387.2,387.51 1 0 +github.com/muety/wakapi/config/config.go:391.2,391.94 1 0 +github.com/muety/wakapi/config/config.go:394.2,394.81 1 0 +github.com/muety/wakapi/config/config.go:397.2,397.75 1 0 +github.com/muety/wakapi/config/config.go:401.2,402.14 2 0 +github.com/muety/wakapi/config/config.go:352.96,354.3 1 0 +github.com/muety/wakapi/config/config.go:365.52,367.3 1 0 +github.com/muety/wakapi/config/config.go:369.47,370.14 1 0 +github.com/muety/wakapi/config/config.go:370.14,372.4 1 0 +github.com/muety/wakapi/config/config.go:375.29,378.3 2 0 +github.com/muety/wakapi/config/config.go:381.106,383.3 1 0 +github.com/muety/wakapi/config/config.go:384.28,386.3 1 0 +github.com/muety/wakapi/config/config.go:387.51,390.3 2 0 +github.com/muety/wakapi/config/config.go:391.94,393.3 1 0 +github.com/muety/wakapi/config/config.go:394.81,396.3 1 0 +github.com/muety/wakapi/config/config.go:397.75,399.3 1 0 +github.com/muety/wakapi/config/db.go:39.50,40.19 1 0 +github.com/muety/wakapi/config/db.go:53.2,53.12 1 0 +github.com/muety/wakapi/config/db.go:41.23,45.5 1 0 +github.com/muety/wakapi/config/db.go:46.26,49.5 1 0 +github.com/muety/wakapi/config/db.go:50.24,51.48 1 0 +github.com/muety/wakapi/config/db.go:56.53,66.2 1 1 +github.com/muety/wakapi/config/db.go:68.56,70.16 2 1 +github.com/muety/wakapi/config/db.go:74.2,81.3 1 1 +github.com/muety/wakapi/config/db.go:70.16,72.3 1 0 +github.com/muety/wakapi/config/db.go:84.54,86.2 1 1 +github.com/muety/wakapi/config/eventbus.go:26.13,28.2 1 1 +github.com/muety/wakapi/config/eventbus.go:30.26,32.2 1 0 +github.com/muety/wakapi/config/fs.go:9.56,10.19 1 0 +github.com/muety/wakapi/config/fs.go:13.2,13.19 1 0 +github.com/muety/wakapi/config/fs.go:10.19,12.3 1 0 +github.com/muety/wakapi/config/sentry.go:22.35,24.2 1 0 +github.com/muety/wakapi/config/sentry.go:26.62,29.2 2 0 +github.com/muety/wakapi/config/sentry.go:39.33,46.2 2 0 +github.com/muety/wakapi/config/sentry.go:48.79,51.2 2 0 +github.com/muety/wakapi/config/sentry.go:53.72,57.2 3 0 +github.com/muety/wakapi/config/sentry.go:59.71,63.2 3 0 +github.com/muety/wakapi/config/sentry.go:65.71,69.2 3 0 +github.com/muety/wakapi/config/sentry.go:71.72,75.2 3 0 +github.com/muety/wakapi/config/sentry.go:77.72,81.2 3 0 +github.com/muety/wakapi/config/sentry.go:83.67,88.18 4 0 +github.com/muety/wakapi/config/sentry.go:100.2,100.28 1 0 +github.com/muety/wakapi/config/sentry.go:88.18,89.65 1 0 +github.com/muety/wakapi/config/sentry.go:89.65,92.42 3 0 +github.com/muety/wakapi/config/sentry.go:95.4,96.10 2 0 +github.com/muety/wakapi/config/sentry.go:92.42,94.5 1 0 +github.com/muety/wakapi/config/sentry.go:110.50,114.91 1 0 +github.com/muety/wakapi/config/sentry.go:114.91,115.29 1 0 +github.com/muety/wakapi/config/sentry.go:119.4,122.38 3 0 +github.com/muety/wakapi/config/sentry.go:127.4,127.39 1 0 +github.com/muety/wakapi/config/sentry.go:130.4,130.69 1 0 +github.com/muety/wakapi/config/sentry.go:115.29,117.5 1 0 +github.com/muety/wakapi/config/sentry.go:122.38,123.38 1 0 +github.com/muety/wakapi/config/sentry.go:123.38,125.6 1 0 +github.com/muety/wakapi/config/sentry.go:127.39,129.5 1 0 +github.com/muety/wakapi/config/sentry.go:132.79,133.27 1 0 +github.com/muety/wakapi/config/sentry.go:140.4,140.16 1 0 +github.com/muety/wakapi/config/sentry.go:133.27,134.84 1 0 +github.com/muety/wakapi/config/sentry.go:134.84,135.42 1 0 +github.com/muety/wakapi/config/sentry.go:135.42,137.7 1 0 +github.com/muety/wakapi/config/sentry.go:142.17,144.3 1 0 +github.com/muety/wakapi/config/sentry.go:147.49,151.51 2 0 +github.com/muety/wakapi/config/sentry.go:154.2,154.12 1 0 +github.com/muety/wakapi/config/sentry.go:151.51,153.3 1 0 +github.com/muety/wakapi/config/utils.go:5.78,7.22 2 0 +github.com/muety/wakapi/config/utils.go:13.2,13.11 1 0 +github.com/muety/wakapi/config/utils.go:7.22,8.18 1 0 +github.com/muety/wakapi/config/utils.go:11.3,11.12 1 0 +github.com/muety/wakapi/config/utils.go:8.18,10.4 1 0 +github.com/muety/wakapi/utils/auth.go:16.79,18.54 2 0 +github.com/muety/wakapi/utils/auth.go:22.2,24.16 3 0 +github.com/muety/wakapi/utils/auth.go:28.2,30.45 3 0 +github.com/muety/wakapi/utils/auth.go:33.2,34.32 2 0 +github.com/muety/wakapi/utils/auth.go:18.54,20.3 1 0 +github.com/muety/wakapi/utils/auth.go:24.16,26.3 1 0 +github.com/muety/wakapi/utils/auth.go:30.45,32.3 1 0 +github.com/muety/wakapi/utils/auth.go:37.65,39.85 2 0 +github.com/muety/wakapi/utils/auth.go:43.2,44.30 2 0 +github.com/muety/wakapi/utils/auth.go:39.85,41.3 1 0 +github.com/muety/wakapi/utils/auth.go:47.94,49.16 2 0 +github.com/muety/wakapi/utils/auth.go:53.2,53.107 1 0 +github.com/muety/wakapi/utils/auth.go:57.2,57.22 1 0 +github.com/muety/wakapi/utils/auth.go:49.16,51.3 1 0 +github.com/muety/wakapi/utils/auth.go:53.107,55.3 1 0 +github.com/muety/wakapi/utils/auth.go:60.56,64.2 3 0 +github.com/muety/wakapi/utils/auth.go:66.55,69.16 3 0 +github.com/muety/wakapi/utils/auth.go:72.2,72.16 1 0 +github.com/muety/wakapi/utils/auth.go:69.16,71.3 1 0 +github.com/muety/wakapi/utils/collection.go:3.59,5.22 2 0 +github.com/muety/wakapi/utils/collection.go:8.2,8.15 1 0 +github.com/muety/wakapi/utils/collection.go:5.22,7.3 1 0 github.com/muety/wakapi/utils/common.go:18.73,19.58 1 0 github.com/muety/wakapi/utils/common.go:22.2,22.87 1 0 github.com/muety/wakapi/utils/common.go:25.2,25.64 1 0 @@ -487,6 +528,31 @@ github.com/muety/wakapi/utils/common.go:44.24,46.2 1 0 github.com/muety/wakapi/utils/common.go:48.56,51.45 3 1 github.com/muety/wakapi/utils/common.go:54.2,54.40 1 1 github.com/muety/wakapi/utils/common.go:51.45,53.3 1 1 +github.com/muety/wakapi/utils/db.go:8.34,9.37 1 0 +github.com/muety/wakapi/utils/db.go:17.2,18.14 2 0 +github.com/muety/wakapi/utils/db.go:9.37,11.110 2 0 +github.com/muety/wakapi/utils/db.go:15.3,15.20 1 0 +github.com/muety/wakapi/utils/db.go:11.110,14.4 2 0 +github.com/muety/wakapi/utils/db.go:21.39,22.37 1 0 +github.com/muety/wakapi/utils/db.go:30.2,31.14 2 0 +github.com/muety/wakapi/utils/db.go:22.37,24.119 2 0 +github.com/muety/wakapi/utils/db.go:28.3,28.20 1 0 +github.com/muety/wakapi/utils/db.go:24.119,27.4 2 0 +github.com/muety/wakapi/utils/set.go:3.51,5.26 2 0 +github.com/muety/wakapi/utils/set.go:8.2,8.12 1 0 +github.com/muety/wakapi/utils/set.go:5.26,7.3 1 0 +github.com/muety/wakapi/utils/set.go:11.49,13.21 2 0 +github.com/muety/wakapi/utils/set.go:16.2,16.14 1 0 +github.com/muety/wakapi/utils/set.go:13.21,15.3 1 0 +github.com/muety/wakapi/utils/strings.go:8.34,10.2 1 0 +github.com/muety/wakapi/utils/strings.go:12.77,13.29 1 0 +github.com/muety/wakapi/utils/strings.go:18.2,18.19 1 0 +github.com/muety/wakapi/utils/strings.go:13.29,14.18 1 0 +github.com/muety/wakapi/utils/strings.go:14.18,16.4 1 0 +github.com/muety/wakapi/utils/color.go:8.90,10.32 2 0 +github.com/muety/wakapi/utils/color.go:15.2,15.15 1 0 +github.com/muety/wakapi/utils/color.go:10.32,11.50 1 0 +github.com/muety/wakapi/utils/color.go:11.50,13.4 1 0 github.com/muety/wakapi/utils/date.go:8.43,10.2 1 1 github.com/muety/wakapi/utils/date.go:12.48,14.2 1 0 github.com/muety/wakapi/utils/date.go:16.41,18.21 2 1 @@ -519,51 +585,8 @@ github.com/muety/wakapi/utils/date.go:126.2,126.13 1 1 github.com/muety/wakapi/utils/date.go:114.36,117.3 2 0 github.com/muety/wakapi/utils/date.go:118.21,121.3 2 1 github.com/muety/wakapi/utils/date.go:122.21,125.3 2 1 -github.com/muety/wakapi/utils/db.go:8.34,9.37 1 0 -github.com/muety/wakapi/utils/db.go:17.2,18.14 2 0 -github.com/muety/wakapi/utils/db.go:9.37,11.110 2 0 -github.com/muety/wakapi/utils/db.go:15.3,15.20 1 0 -github.com/muety/wakapi/utils/db.go:11.110,14.4 2 0 -github.com/muety/wakapi/utils/db.go:21.39,22.37 1 0 -github.com/muety/wakapi/utils/db.go:30.2,31.14 2 0 -github.com/muety/wakapi/utils/db.go:22.37,24.119 2 0 -github.com/muety/wakapi/utils/db.go:28.3,28.20 1 0 -github.com/muety/wakapi/utils/db.go:24.119,27.4 2 0 github.com/muety/wakapi/utils/http.go:9.90,12.58 3 0 github.com/muety/wakapi/utils/http.go:12.58,14.3 1 0 -github.com/muety/wakapi/utils/auth.go:16.79,18.54 2 0 -github.com/muety/wakapi/utils/auth.go:22.2,24.16 3 0 -github.com/muety/wakapi/utils/auth.go:28.2,30.45 3 0 -github.com/muety/wakapi/utils/auth.go:33.2,34.32 2 0 -github.com/muety/wakapi/utils/auth.go:18.54,20.3 1 0 -github.com/muety/wakapi/utils/auth.go:24.16,26.3 1 0 -github.com/muety/wakapi/utils/auth.go:30.45,32.3 1 0 -github.com/muety/wakapi/utils/auth.go:37.65,39.85 2 0 -github.com/muety/wakapi/utils/auth.go:43.2,44.30 2 0 -github.com/muety/wakapi/utils/auth.go:39.85,41.3 1 0 -github.com/muety/wakapi/utils/auth.go:47.94,49.16 2 0 -github.com/muety/wakapi/utils/auth.go:53.2,53.107 1 0 -github.com/muety/wakapi/utils/auth.go:57.2,57.22 1 0 -github.com/muety/wakapi/utils/auth.go:49.16,51.3 1 0 -github.com/muety/wakapi/utils/auth.go:53.107,55.3 1 0 -github.com/muety/wakapi/utils/auth.go:60.56,64.2 3 0 -github.com/muety/wakapi/utils/auth.go:66.55,69.16 3 0 -github.com/muety/wakapi/utils/auth.go:72.2,72.16 1 0 -github.com/muety/wakapi/utils/auth.go:69.16,71.3 1 0 -github.com/muety/wakapi/utils/collection.go:3.59,5.22 2 0 -github.com/muety/wakapi/utils/collection.go:8.2,8.15 1 0 -github.com/muety/wakapi/utils/collection.go:5.22,7.3 1 0 -github.com/muety/wakapi/utils/set.go:3.51,5.26 2 0 -github.com/muety/wakapi/utils/set.go:8.2,8.12 1 0 -github.com/muety/wakapi/utils/set.go:5.26,7.3 1 0 -github.com/muety/wakapi/utils/set.go:11.49,13.21 2 0 -github.com/muety/wakapi/utils/set.go:16.2,16.14 1 0 -github.com/muety/wakapi/utils/set.go:13.21,15.3 1 0 -github.com/muety/wakapi/utils/strings.go:8.34,10.2 1 0 -github.com/muety/wakapi/utils/strings.go:12.77,13.29 1 0 -github.com/muety/wakapi/utils/strings.go:18.2,18.19 1 0 -github.com/muety/wakapi/utils/strings.go:13.29,14.18 1 0 -github.com/muety/wakapi/utils/strings.go:14.18,16.4 1 0 github.com/muety/wakapi/utils/summary.go:10.66,11.40 1 0 github.com/muety/wakapi/utils/summary.go:16.2,16.48 1 0 github.com/muety/wakapi/utils/summary.go:11.40,12.27 1 0 @@ -600,63 +623,51 @@ github.com/muety/wakapi/utils/summary.go:92.17,94.4 1 0 github.com/muety/wakapi/utils/summary.go:107.48,111.51 2 0 github.com/muety/wakapi/utils/summary.go:114.2,114.12 1 0 github.com/muety/wakapi/utils/summary.go:111.51,113.3 1 0 -github.com/muety/wakapi/services/alias.go:17.77,22.2 1 1 -github.com/muety/wakapi/services/alias.go:26.60,27.43 1 1 -github.com/muety/wakapi/services/alias.go:30.2,30.14 1 1 -github.com/muety/wakapi/services/alias.go:27.43,29.3 1 1 -github.com/muety/wakapi/services/alias.go:33.62,35.16 2 1 -github.com/muety/wakapi/services/alias.go:38.2,38.12 1 1 -github.com/muety/wakapi/services/alias.go:35.16,37.3 1 1 -github.com/muety/wakapi/services/alias.go:41.76,43.16 2 0 -github.com/muety/wakapi/services/alias.go:46.2,46.21 1 0 -github.com/muety/wakapi/services/alias.go:43.16,45.3 1 0 -github.com/muety/wakapi/services/alias.go:49.113,51.16 2 0 -github.com/muety/wakapi/services/alias.go:54.2,54.21 1 0 -github.com/muety/wakapi/services/alias.go:51.16,53.3 1 0 -github.com/muety/wakapi/services/alias.go:57.108,58.32 1 1 -github.com/muety/wakapi/services/alias.go:64.2,65.46 2 1 -github.com/muety/wakapi/services/alias.go:70.2,70.19 1 1 -github.com/muety/wakapi/services/alias.go:58.32,59.52 1 1 -github.com/muety/wakapi/services/alias.go:59.52,61.4 1 1 -github.com/muety/wakapi/services/alias.go:65.46,66.48 1 1 -github.com/muety/wakapi/services/alias.go:66.48,68.4 1 1 -github.com/muety/wakapi/services/alias.go:73.77,75.16 2 0 -github.com/muety/wakapi/services/alias.go:78.2,79.20 2 0 -github.com/muety/wakapi/services/alias.go:75.16,77.3 1 0 -github.com/muety/wakapi/services/alias.go:82.60,83.24 1 0 -github.com/muety/wakapi/services/alias.go:86.2,88.12 3 0 -github.com/muety/wakapi/services/alias.go:83.24,85.3 1 0 -github.com/muety/wakapi/services/alias.go:91.69,94.28 3 0 -github.com/muety/wakapi/services/alias.go:102.2,104.31 2 0 -github.com/muety/wakapi/services/alias.go:108.2,108.12 1 0 -github.com/muety/wakapi/services/alias.go:94.28,95.21 1 0 -github.com/muety/wakapi/services/alias.go:98.3,99.16 2 0 -github.com/muety/wakapi/services/alias.go:95.21,97.4 1 0 -github.com/muety/wakapi/services/alias.go:104.31,106.3 1 0 -github.com/muety/wakapi/services/alias.go:111.52,112.51 1 0 -github.com/muety/wakapi/services/alias.go:112.51,114.3 1 0 +github.com/muety/wakapi/utils/template.go:13.41,15.16 2 0 +github.com/muety/wakapi/utils/template.go:18.2,18.23 1 0 +github.com/muety/wakapi/utils/template.go:15.16,17.3 1 0 +github.com/muety/wakapi/utils/template.go:21.37,22.30 1 0 +github.com/muety/wakapi/utils/template.go:25.2,25.10 1 0 +github.com/muety/wakapi/utils/template.go:22.30,24.3 1 0 +github.com/muety/wakapi/utils/template.go:28.83,33.16 4 0 +github.com/muety/wakapi/utils/template.go:37.2,37.29 1 0 +github.com/muety/wakapi/utils/template.go:62.2,62.23 1 0 +github.com/muety/wakapi/utils/template.go:33.16,35.3 1 0 +github.com/muety/wakapi/utils/template.go:37.29,39.51 2 0 +github.com/muety/wakapi/utils/template.go:43.3,44.17 2 0 +github.com/muety/wakapi/utils/template.go:47.3,48.17 2 0 +github.com/muety/wakapi/utils/template.go:52.3,55.17 3 0 +github.com/muety/wakapi/utils/template.go:59.3,59.27 1 0 +github.com/muety/wakapi/utils/template.go:39.51,40.12 1 0 +github.com/muety/wakapi/utils/template.go:44.17,46.4 1 0 +github.com/muety/wakapi/utils/template.go:48.17,50.4 1 0 +github.com/muety/wakapi/utils/template.go:55.17,57.4 1 0 +github.com/muety/wakapi/services/diagnostics.go:14.101,19.2 1 0 +github.com/muety/wakapi/services/diagnostics.go:21.101,23.2 1 0 github.com/muety/wakapi/services/duration.go:16.78,22.2 2 1 -github.com/muety/wakapi/services/duration.go:24.98,26.16 2 1 +github.com/muety/wakapi/services/duration.go:24.123,26.16 2 1 github.com/muety/wakapi/services/duration.go:31.2,36.31 4 1 -github.com/muety/wakapi/services/duration.go:67.2,69.31 2 1 -github.com/muety/wakapi/services/duration.go:78.2,78.32 1 1 +github.com/muety/wakapi/services/duration.go:71.2,73.31 2 1 +github.com/muety/wakapi/services/duration.go:82.2,82.32 1 1 github.com/muety/wakapi/services/duration.go:26.16,28.3 1 0 -github.com/muety/wakapi/services/duration.go:36.31,39.62 2 1 -github.com/muety/wakapi/services/duration.go:43.3,43.20 1 1 -github.com/muety/wakapi/services/duration.go:48.3,49.35 2 1 -github.com/muety/wakapi/services/duration.go:52.3,54.72 2 1 -github.com/muety/wakapi/services/duration.go:64.3,64.10 1 1 -github.com/muety/wakapi/services/duration.go:39.62,41.4 1 1 -github.com/muety/wakapi/services/duration.go:43.20,45.12 2 1 -github.com/muety/wakapi/services/duration.go:49.35,51.4 1 1 -github.com/muety/wakapi/services/duration.go:54.72,56.41 2 1 -github.com/muety/wakapi/services/duration.go:59.4,59.15 1 1 -github.com/muety/wakapi/services/duration.go:56.41,58.5 1 1 -github.com/muety/wakapi/services/duration.go:60.9,62.4 1 1 -github.com/muety/wakapi/services/duration.go:69.31,70.26 1 1 -github.com/muety/wakapi/services/duration.go:70.26,71.23 1 1 -github.com/muety/wakapi/services/duration.go:74.4,74.36 1 1 -github.com/muety/wakapi/services/duration.go:71.23,73.5 1 1 +github.com/muety/wakapi/services/duration.go:36.31,37.42 1 1 +github.com/muety/wakapi/services/duration.go:41.3,43.62 2 1 +github.com/muety/wakapi/services/duration.go:47.3,47.20 1 1 +github.com/muety/wakapi/services/duration.go:52.3,53.35 2 1 +github.com/muety/wakapi/services/duration.go:56.3,58.72 2 1 +github.com/muety/wakapi/services/duration.go:68.3,68.10 1 1 +github.com/muety/wakapi/services/duration.go:37.42,38.12 1 1 +github.com/muety/wakapi/services/duration.go:43.62,45.4 1 1 +github.com/muety/wakapi/services/duration.go:47.20,49.12 2 1 +github.com/muety/wakapi/services/duration.go:53.35,55.4 1 1 +github.com/muety/wakapi/services/duration.go:58.72,60.41 2 1 +github.com/muety/wakapi/services/duration.go:63.4,63.15 1 1 +github.com/muety/wakapi/services/duration.go:60.41,62.5 1 1 +github.com/muety/wakapi/services/duration.go:64.9,66.4 1 1 +github.com/muety/wakapi/services/duration.go:73.31,74.26 1 1 +github.com/muety/wakapi/services/duration.go:74.26,75.23 1 1 +github.com/muety/wakapi/services/duration.go:78.4,78.36 1 1 +github.com/muety/wakapi/services/duration.go:75.23,77.5 1 1 github.com/muety/wakapi/services/heartbeat.go:26.141,40.33 3 0 github.com/muety/wakapi/services/heartbeat.go:48.2,48.12 1 0 github.com/muety/wakapi/services/heartbeat.go:40.33,41.31 1 0 @@ -718,6 +729,13 @@ github.com/muety/wakapi/services/heartbeat.go:220.32,225.3 1 0 github.com/muety/wakapi/services/heartbeat.go:228.72,230.2 1 0 github.com/muety/wakapi/services/heartbeat.go:232.58,234.2 1 0 github.com/muety/wakapi/services/heartbeat.go:236.60,238.2 1 0 +github.com/muety/wakapi/services/key_value.go:14.89,19.2 1 0 +github.com/muety/wakapi/services/key_value.go:21.83,23.2 1 0 +github.com/muety/wakapi/services/key_value.go:25.78,27.16 2 0 +github.com/muety/wakapi/services/key_value.go:33.2,33.11 1 0 +github.com/muety/wakapi/services/key_value.go:27.16,32.3 1 0 +github.com/muety/wakapi/services/key_value.go:36.72,38.2 1 0 +github.com/muety/wakapi/services/key_value.go:40.60,42.2 1 0 github.com/muety/wakapi/services/language_mapping.go:18.118,24.2 1 0 github.com/muety/wakapi/services/language_mapping.go:26.86,28.2 1 0 github.com/muety/wakapi/services/language_mapping.go:30.96,31.53 1 0 @@ -737,6 +755,271 @@ github.com/muety/wakapi/services/language_mapping.go:66.82,67.26 1 0 github.com/muety/wakapi/services/language_mapping.go:70.2,72.12 3 0 github.com/muety/wakapi/services/language_mapping.go:67.26,69.3 1 0 github.com/muety/wakapi/services/language_mapping.go:75.74,78.2 1 0 +github.com/muety/wakapi/services/misc.go:21.126,28.2 1 0 +github.com/muety/wakapi/services/misc.go:40.50,42.48 1 0 +github.com/muety/wakapi/services/misc.go:46.2,48.19 3 0 +github.com/muety/wakapi/services/misc.go:42.48,44.3 1 0 +github.com/muety/wakapi/services/misc.go:51.51,53.16 2 0 +github.com/muety/wakapi/services/misc.go:57.2,60.26 3 0 +github.com/muety/wakapi/services/misc.go:66.2,68.40 2 0 +github.com/muety/wakapi/services/misc.go:73.2,75.33 3 0 +github.com/muety/wakapi/services/misc.go:79.2,84.17 2 0 +github.com/muety/wakapi/services/misc.go:88.2,91.17 1 0 +github.com/muety/wakapi/services/misc.go:95.2,95.12 1 0 +github.com/muety/wakapi/services/misc.go:53.16,55.3 1 0 +github.com/muety/wakapi/services/misc.go:60.26,65.3 1 0 +github.com/muety/wakapi/services/misc.go:68.40,70.3 1 0 +github.com/muety/wakapi/services/misc.go:75.33,78.3 2 0 +github.com/muety/wakapi/services/misc.go:84.17,86.3 1 0 +github.com/muety/wakapi/services/misc.go:91.17,93.3 1 0 +github.com/muety/wakapi/services/misc.go:98.116,99.24 1 0 +github.com/muety/wakapi/services/misc.go:99.24,100.156 1 0 +github.com/muety/wakapi/services/misc.go:100.156,102.4 1 0 +github.com/muety/wakapi/services/misc.go:102.9,107.4 1 0 +github.com/muety/wakapi/services/aggregation.go:29.142,37.2 1 0 +github.com/muety/wakapi/services/aggregation.go:46.43,48.37 1 0 +github.com/muety/wakapi/services/aggregation.go:52.2,54.19 3 0 +github.com/muety/wakapi/services/aggregation.go:48.37,50.3 1 0 +github.com/muety/wakapi/services/aggregation.go:57.67,58.47 1 0 +github.com/muety/wakapi/services/aggregation.go:61.2,66.40 4 0 +github.com/muety/wakapi/services/aggregation.go:70.2,70.50 1 0 +github.com/muety/wakapi/services/aggregation.go:75.2,75.60 1 0 +github.com/muety/wakapi/services/aggregation.go:81.2,81.35 1 0 +github.com/muety/wakapi/services/aggregation.go:58.47,60.3 1 0 +github.com/muety/wakapi/services/aggregation.go:66.40,68.3 1 0 +github.com/muety/wakapi/services/aggregation.go:70.50,72.3 1 0 +github.com/muety/wakapi/services/aggregation.go:75.60,79.3 3 0 +github.com/muety/wakapi/services/aggregation.go:84.109,85.24 1 0 +github.com/muety/wakapi/services/aggregation.go:85.24,86.116 1 0 +github.com/muety/wakapi/services/aggregation.go:86.116,88.4 1 0 +github.com/muety/wakapi/services/aggregation.go:88.9,91.4 2 0 +github.com/muety/wakapi/services/aggregation.go:95.80,96.33 1 0 +github.com/muety/wakapi/services/aggregation.go:96.33,97.60 1 0 +github.com/muety/wakapi/services/aggregation.go:97.60,99.4 1 0 +github.com/muety/wakapi/services/aggregation.go:103.100,107.59 3 0 +github.com/muety/wakapi/services/aggregation.go:122.2,123.16 2 0 +github.com/muety/wakapi/services/aggregation.go:129.2,130.16 2 0 +github.com/muety/wakapi/services/aggregation.go:136.2,137.44 2 0 +github.com/muety/wakapi/services/aggregation.go:142.2,142.41 1 0 +github.com/muety/wakapi/services/aggregation.go:156.2,156.12 1 0 +github.com/muety/wakapi/services/aggregation.go:107.59,110.3 2 0 +github.com/muety/wakapi/services/aggregation.go:110.8,110.47 1 0 +github.com/muety/wakapi/services/aggregation.go:110.47,112.30 2 0 +github.com/muety/wakapi/services/aggregation.go:112.30,113.43 1 0 +github.com/muety/wakapi/services/aggregation.go:113.43,115.5 1 0 +github.com/muety/wakapi/services/aggregation.go:117.8,119.3 1 0 +github.com/muety/wakapi/services/aggregation.go:123.16,126.3 2 0 +github.com/muety/wakapi/services/aggregation.go:130.16,133.3 2 0 +github.com/muety/wakapi/services/aggregation.go:137.44,139.3 1 0 +github.com/muety/wakapi/services/aggregation.go:142.41,143.21 1 0 +github.com/muety/wakapi/services/aggregation.go:143.21,147.4 1 0 +github.com/muety/wakapi/services/aggregation.go:147.9,147.62 1 0 +github.com/muety/wakapi/services/aggregation.go:147.62,151.4 1 0 +github.com/muety/wakapi/services/aggregation.go:159.73,162.27 3 0 +github.com/muety/wakapi/services/aggregation.go:167.2,167.27 1 0 +github.com/muety/wakapi/services/aggregation.go:170.2,170.12 1 0 +github.com/muety/wakapi/services/aggregation.go:162.27,163.39 1 0 +github.com/muety/wakapi/services/aggregation.go:163.39,165.4 1 0 +github.com/muety/wakapi/services/aggregation.go:167.27,169.3 1 0 +github.com/muety/wakapi/services/aggregation.go:173.69,176.27 3 0 +github.com/muety/wakapi/services/aggregation.go:176.27,178.3 1 0 +github.com/muety/wakapi/services/aggregation.go:181.83,196.41 5 0 +github.com/muety/wakapi/services/aggregation.go:196.41,206.3 3 0 +github.com/muety/wakapi/services/aggregation.go:209.34,212.2 2 0 +github.com/muety/wakapi/services/alias.go:18.77,23.2 1 1 +github.com/muety/wakapi/services/alias.go:27.60,28.43 1 1 +github.com/muety/wakapi/services/alias.go:31.2,31.14 1 1 +github.com/muety/wakapi/services/alias.go:28.43,30.3 1 1 +github.com/muety/wakapi/services/alias.go:34.62,36.16 2 1 +github.com/muety/wakapi/services/alias.go:39.2,39.12 1 1 +github.com/muety/wakapi/services/alias.go:36.16,38.3 1 1 +github.com/muety/wakapi/services/alias.go:42.59,43.51 1 1 +github.com/muety/wakapi/services/alias.go:43.51,45.3 1 0 +github.com/muety/wakapi/services/alias.go:48.76,49.32 1 0 +github.com/muety/wakapi/services/alias.go:52.2,52.49 1 0 +github.com/muety/wakapi/services/alias.go:49.32,51.3 1 0 +github.com/muety/wakapi/services/alias.go:52.49,54.3 1 0 +github.com/muety/wakapi/services/alias.go:54.8,56.3 1 0 +github.com/muety/wakapi/services/alias.go:59.113,60.32 1 0 +github.com/muety/wakapi/services/alias.go:63.2,63.49 1 0 +github.com/muety/wakapi/services/alias.go:60.32,62.3 1 0 +github.com/muety/wakapi/services/alias.go:63.49,65.47 2 0 +github.com/muety/wakapi/services/alias.go:70.3,70.30 1 0 +github.com/muety/wakapi/services/alias.go:65.47,66.45 1 0 +github.com/muety/wakapi/services/alias.go:66.45,68.5 1 0 +github.com/muety/wakapi/services/alias.go:71.8,73.3 1 0 +github.com/muety/wakapi/services/alias.go:76.108,77.32 1 1 +github.com/muety/wakapi/services/alias.go:81.2,81.49 1 1 +github.com/muety/wakapi/services/alias.go:89.2,89.19 1 1 +github.com/muety/wakapi/services/alias.go:77.32,79.3 1 1 +github.com/muety/wakapi/services/alias.go:81.49,82.47 1 1 +github.com/muety/wakapi/services/alias.go:82.47,83.49 1 1 +github.com/muety/wakapi/services/alias.go:83.49,85.5 1 1 +github.com/muety/wakapi/services/alias.go:92.77,94.16 2 0 +github.com/muety/wakapi/services/alias.go:97.2,98.20 2 0 +github.com/muety/wakapi/services/alias.go:94.16,96.3 1 0 +github.com/muety/wakapi/services/alias.go:101.60,102.24 1 0 +github.com/muety/wakapi/services/alias.go:105.2,107.12 3 0 +github.com/muety/wakapi/services/alias.go:102.24,104.3 1 0 +github.com/muety/wakapi/services/alias.go:110.69,113.28 3 0 +github.com/muety/wakapi/services/alias.go:121.2,123.31 2 0 +github.com/muety/wakapi/services/alias.go:127.2,127.12 1 0 +github.com/muety/wakapi/services/alias.go:113.28,114.21 1 0 +github.com/muety/wakapi/services/alias.go:117.3,118.16 2 0 +github.com/muety/wakapi/services/alias.go:114.21,116.4 1 0 +github.com/muety/wakapi/services/alias.go:123.31,125.3 1 0 +github.com/muety/wakapi/services/summary.go:29.189,41.33 3 1 +github.com/muety/wakapi/services/summary.go:52.2,52.12 1 1 +github.com/muety/wakapi/services/summary.go:41.33,42.31 1 1 +github.com/muety/wakapi/services/summary.go:42.31,44.39 2 0 +github.com/muety/wakapi/services/summary.go:44.39,45.71 1 0 +github.com/muety/wakapi/services/summary.go:45.71,47.6 1 0 +github.com/muety/wakapi/services/summary.go:58.161,61.66 2 1 +github.com/muety/wakapi/services/summary.go:66.2,71.20 4 1 +github.com/muety/wakapi/services/summary.go:77.2,77.65 1 1 +github.com/muety/wakapi/services/summary.go:82.2,83.16 2 1 +github.com/muety/wakapi/services/summary.go:88.2,94.30 6 1 +github.com/muety/wakapi/services/summary.go:61.66,63.3 1 0 +github.com/muety/wakapi/services/summary.go:71.20,74.3 2 1 +github.com/muety/wakapi/services/summary.go:77.65,79.3 1 0 +github.com/muety/wakapi/services/summary.go:83.16,85.3 1 0 +github.com/muety/wakapi/services/summary.go:97.126,101.41 2 1 +github.com/muety/wakapi/services/summary.go:112.2,113.44 2 1 +github.com/muety/wakapi/services/summary.go:122.2,123.16 2 1 +github.com/muety/wakapi/services/summary.go:127.2,127.30 1 1 +github.com/muety/wakapi/services/summary.go:101.41,104.17 2 1 +github.com/muety/wakapi/services/summary.go:104.17,106.4 1 1 +github.com/muety/wakapi/services/summary.go:106.9,108.4 1 0 +github.com/muety/wakapi/services/summary.go:113.44,114.87 1 1 +github.com/muety/wakapi/services/summary.go:114.87,116.4 1 1 +github.com/muety/wakapi/services/summary.go:116.9,118.4 1 0 +github.com/muety/wakapi/services/summary.go:123.16,125.3 1 0 +github.com/muety/wakapi/services/summary.go:130.127,133.16 2 1 +github.com/muety/wakapi/services/summary.go:137.2,141.26 4 1 +github.com/muety/wakapi/services/summary.go:146.2,152.34 6 1 +github.com/muety/wakapi/services/summary.go:168.2,168.25 1 1 +github.com/muety/wakapi/services/summary.go:173.2,185.30 2 1 +github.com/muety/wakapi/services/summary.go:133.16,135.3 1 0 +github.com/muety/wakapi/services/summary.go:141.26,143.3 1 1 +github.com/muety/wakapi/services/summary.go:152.34,154.20 2 1 +github.com/muety/wakapi/services/summary.go:155.30,156.29 1 1 +github.com/muety/wakapi/services/summary.go:157.31,158.30 1 1 +github.com/muety/wakapi/services/summary.go:159.29,160.28 1 1 +github.com/muety/wakapi/services/summary.go:161.25,162.24 1 1 +github.com/muety/wakapi/services/summary.go:163.30,164.29 1 1 +github.com/muety/wakapi/services/summary.go:168.25,171.3 2 1 +github.com/muety/wakapi/services/summary.go:190.76,192.2 1 0 +github.com/muety/wakapi/services/summary.go:194.62,197.2 2 0 +github.com/muety/wakapi/services/summary.go:199.66,202.2 2 0 +github.com/muety/wakapi/services/summary.go:206.125,209.30 2 1 +github.com/muety/wakapi/services/summary.go:213.2,214.28 2 1 +github.com/muety/wakapi/services/summary.go:222.2,222.40 1 1 +github.com/muety/wakapi/services/summary.go:226.2,226.67 1 1 +github.com/muety/wakapi/services/summary.go:209.30,211.3 1 1 +github.com/muety/wakapi/services/summary.go:214.28,220.3 1 1 +github.com/muety/wakapi/services/summary.go:222.40,224.3 1 1 +github.com/muety/wakapi/services/summary.go:229.87,230.72 1 1 +github.com/muety/wakapi/services/summary.go:238.2,239.16 2 1 +github.com/muety/wakapi/services/summary.go:244.2,245.37 2 1 +github.com/muety/wakapi/services/summary.go:249.2,251.30 3 1 +github.com/muety/wakapi/services/summary.go:262.2,263.29 2 1 +github.com/muety/wakapi/services/summary.go:268.2,269.16 2 1 +github.com/muety/wakapi/services/summary.go:230.72,236.3 1 1 +github.com/muety/wakapi/services/summary.go:239.16,242.3 2 0 +github.com/muety/wakapi/services/summary.go:245.37,247.3 1 1 +github.com/muety/wakapi/services/summary.go:251.30,252.48 1 1 +github.com/muety/wakapi/services/summary.go:252.48,253.41 1 1 +github.com/muety/wakapi/services/summary.go:256.4,257.29 2 1 +github.com/muety/wakapi/services/summary.go:253.41,255.5 1 1 +github.com/muety/wakapi/services/summary.go:263.29,264.18 1 1 +github.com/muety/wakapi/services/summary.go:264.18,266.4 1 1 +github.com/muety/wakapi/services/summary.go:272.97,273.24 1 1 +github.com/muety/wakapi/services/summary.go:277.2,292.30 5 1 +github.com/muety/wakapi/services/summary.go:322.2,325.26 3 1 +github.com/muety/wakapi/services/summary.go:273.24,275.3 1 0 +github.com/muety/wakapi/services/summary.go:292.30,294.41 2 1 +github.com/muety/wakapi/services/summary.go:299.3,299.38 1 1 +github.com/muety/wakapi/services/summary.go:303.3,303.37 1 1 +github.com/muety/wakapi/services/summary.go:307.3,307.34 1 1 +github.com/muety/wakapi/services/summary.go:311.3,319.25 8 1 +github.com/muety/wakapi/services/summary.go:294.41,296.12 2 1 +github.com/muety/wakapi/services/summary.go:299.38,301.4 1 0 +github.com/muety/wakapi/services/summary.go:303.37,305.4 1 1 +github.com/muety/wakapi/services/summary.go:307.34,309.4 1 1 +github.com/muety/wakapi/services/summary.go:328.127,332.32 2 1 +github.com/muety/wakapi/services/summary.go:336.2,336.27 1 1 +github.com/muety/wakapi/services/summary.go:344.2,346.26 3 1 +github.com/muety/wakapi/services/summary.go:351.2,351.43 1 1 +github.com/muety/wakapi/services/summary.go:355.2,355.17 1 1 +github.com/muety/wakapi/services/summary.go:332.32,334.3 1 1 +github.com/muety/wakapi/services/summary.go:336.27,337.37 1 1 +github.com/muety/wakapi/services/summary.go:337.37,339.4 1 1 +github.com/muety/wakapi/services/summary.go:339.9,341.4 1 1 +github.com/muety/wakapi/services/summary.go:346.26,349.3 2 1 +github.com/muety/wakapi/services/summary.go:351.43,353.3 1 1 +github.com/muety/wakapi/services/summary.go:358.116,359.25 1 1 +github.com/muety/wakapi/services/summary.go:363.2,366.44 2 1 +github.com/muety/wakapi/services/summary.go:371.2,371.40 1 1 +github.com/muety/wakapi/services/summary.go:396.2,396.54 1 1 +github.com/muety/wakapi/services/summary.go:400.2,400.18 1 1 +github.com/muety/wakapi/services/summary.go:359.25,361.3 1 0 +github.com/muety/wakapi/services/summary.go:366.44,368.3 1 1 +github.com/muety/wakapi/services/summary.go:371.40,373.19 2 1 +github.com/muety/wakapi/services/summary.go:380.3,385.34 3 1 +github.com/muety/wakapi/services/summary.go:390.3,390.22 1 1 +github.com/muety/wakapi/services/summary.go:373.19,374.12 1 1 +github.com/muety/wakapi/services/summary.go:385.34,387.4 1 1 +github.com/muety/wakapi/services/summary.go:390.22,392.4 1 1 +github.com/muety/wakapi/services/summary.go:396.54,398.3 1 1 +github.com/muety/wakapi/services/summary.go:403.59,405.2 1 1 +github.com/muety/wakapi/services/summary.go:407.63,408.37 1 0 +github.com/muety/wakapi/services/summary.go:408.37,409.36 1 0 +github.com/muety/wakapi/services/summary.go:409.36,411.4 1 0 +github.com/muety/wakapi/services/summary.go:415.85,416.40 1 1 +github.com/muety/wakapi/services/summary.go:416.40,419.3 2 1 +github.com/muety/wakapi/services/summary.go:422.99,423.42 1 1 +github.com/muety/wakapi/services/summary.go:423.42,425.17 2 1 +github.com/muety/wakapi/services/summary.go:428.3,429.29 2 1 +github.com/muety/wakapi/services/summary.go:432.3,432.22 1 1 +github.com/muety/wakapi/services/summary.go:425.17,427.4 1 0 +github.com/muety/wakapi/services/summary.go:429.29,431.4 1 1 +github.com/muety/wakapi/services/summary.go:436.114,437.33 1 1 +github.com/muety/wakapi/services/summary.go:437.33,440.17 3 1 +github.com/muety/wakapi/services/summary.go:445.3,446.28 2 1 +github.com/muety/wakapi/services/summary.go:449.3,449.24 1 1 +github.com/muety/wakapi/services/summary.go:440.17,441.33 1 1 +github.com/muety/wakapi/services/summary.go:441.33,443.5 1 1 +github.com/muety/wakapi/services/summary.go:446.28,448.4 1 1 +github.com/muety/wakapi/services/project_label.go:20.111,27.2 1 0 +github.com/muety/wakapi/services/project_label.go:29.80,31.2 1 0 +github.com/muety/wakapi/services/project_label.go:33.90,34.51 1 0 +github.com/muety/wakapi/services/project_label.go:38.2,39.16 2 0 +github.com/muety/wakapi/services/project_label.go:42.2,43.20 2 0 +github.com/muety/wakapi/services/project_label.go:34.51,36.3 1 0 +github.com/muety/wakapi/services/project_label.go:39.16,41.3 1 0 +github.com/muety/wakapi/services/project_label.go:47.108,50.16 3 0 +github.com/muety/wakapi/services/project_label.go:54.2,54.31 1 0 +github.com/muety/wakapi/services/project_label.go:61.2,61.29 1 0 +github.com/muety/wakapi/services/project_label.go:50.16,52.3 1 0 +github.com/muety/wakapi/services/project_label.go:54.31,55.50 1 0 +github.com/muety/wakapi/services/project_label.go:55.50,57.4 1 0 +github.com/muety/wakapi/services/project_label.go:57.9,59.4 1 0 +github.com/muety/wakapi/services/project_label.go:65.116,68.16 3 0 +github.com/muety/wakapi/services/project_label.go:72.2,72.31 1 0 +github.com/muety/wakapi/services/project_label.go:79.2,79.29 1 0 +github.com/muety/wakapi/services/project_label.go:68.16,70.3 1 0 +github.com/muety/wakapi/services/project_label.go:72.31,73.45 1 0 +github.com/muety/wakapi/services/project_label.go:73.45,75.4 1 0 +github.com/muety/wakapi/services/project_label.go:75.9,77.4 1 0 +github.com/muety/wakapi/services/project_label.go:82.98,84.16 2 0 +github.com/muety/wakapi/services/project_label.go:88.2,90.20 3 0 +github.com/muety/wakapi/services/project_label.go:84.16,86.3 1 0 +github.com/muety/wakapi/services/project_label.go:93.74,94.24 1 0 +github.com/muety/wakapi/services/project_label.go:97.2,100.12 4 0 +github.com/muety/wakapi/services/project_label.go:94.24,96.3 1 0 +github.com/muety/wakapi/services/project_label.go:103.89,105.14 2 0 +github.com/muety/wakapi/services/project_label.go:108.2,111.4 1 0 +github.com/muety/wakapi/services/project_label.go:105.14,107.3 1 0 github.com/muety/wakapi/services/report.go:30.122,44.33 4 0 github.com/muety/wakapi/services/report.go:50.2,50.12 1 0 github.com/muety/wakapi/services/report.go:44.33,45.31 1 0 @@ -746,130 +1029,26 @@ github.com/muety/wakapi/services/report.go:61.2,62.26 2 0 github.com/muety/wakapi/services/report.go:57.16,59.3 1 0 github.com/muety/wakapi/services/report.go:62.26,64.3 1 0 github.com/muety/wakapi/services/report.go:69.61,74.22 3 0 -github.com/muety/wakapi/services/report.go:80.2,80.61 1 0 -github.com/muety/wakapi/services/report.go:94.2,94.24 1 0 -github.com/muety/wakapi/services/report.go:74.22,77.3 2 0 -github.com/muety/wakapi/services/report.go:80.61,89.47 3 0 -github.com/muety/wakapi/services/report.go:89.47,91.4 1 0 -github.com/muety/wakapi/services/report.go:97.80,98.22 1 0 -github.com/muety/wakapi/services/report.go:102.2,102.29 1 0 -github.com/muety/wakapi/services/report.go:107.2,111.16 4 0 -github.com/muety/wakapi/services/report.go:116.2,123.65 2 0 -github.com/muety/wakapi/services/report.go:128.2,129.12 2 0 -github.com/muety/wakapi/services/report.go:98.22,100.3 1 0 -github.com/muety/wakapi/services/report.go:102.29,105.3 2 0 -github.com/muety/wakapi/services/report.go:111.16,114.3 2 0 -github.com/muety/wakapi/services/report.go:123.65,126.3 2 0 -github.com/muety/wakapi/services/report.go:132.63,133.41 1 0 -github.com/muety/wakapi/services/report.go:140.2,140.12 1 0 -github.com/muety/wakapi/services/report.go:133.41,134.30 1 0 -github.com/muety/wakapi/services/report.go:134.30,135.16 1 0 -github.com/muety/wakapi/services/report.go:135.16,137.5 1 0 -github.com/muety/wakapi/services/summary.go:29.189,41.33 3 1 -github.com/muety/wakapi/services/summary.go:52.2,52.12 1 1 -github.com/muety/wakapi/services/summary.go:41.33,42.31 1 1 -github.com/muety/wakapi/services/summary.go:42.31,44.39 2 0 -github.com/muety/wakapi/services/summary.go:44.39,45.71 1 0 -github.com/muety/wakapi/services/summary.go:45.71,47.6 1 0 -github.com/muety/wakapi/services/summary.go:58.136,61.66 2 1 -github.com/muety/wakapi/services/summary.go:66.2,66.44 1 1 -github.com/muety/wakapi/services/summary.go:72.2,72.65 1 1 -github.com/muety/wakapi/services/summary.go:77.2,78.16 2 1 -github.com/muety/wakapi/services/summary.go:83.2,89.30 6 1 -github.com/muety/wakapi/services/summary.go:61.66,63.3 1 0 -github.com/muety/wakapi/services/summary.go:66.44,69.3 2 1 -github.com/muety/wakapi/services/summary.go:72.65,74.3 1 0 -github.com/muety/wakapi/services/summary.go:78.16,80.3 1 0 -github.com/muety/wakapi/services/summary.go:92.101,95.16 2 1 -github.com/muety/wakapi/services/summary.go:100.2,101.44 2 1 -github.com/muety/wakapi/services/summary.go:110.2,111.16 2 1 -github.com/muety/wakapi/services/summary.go:115.2,115.30 1 1 -github.com/muety/wakapi/services/summary.go:95.16,97.3 1 0 -github.com/muety/wakapi/services/summary.go:101.44,102.78 1 1 -github.com/muety/wakapi/services/summary.go:102.78,104.4 1 1 -github.com/muety/wakapi/services/summary.go:104.9,106.4 1 0 -github.com/muety/wakapi/services/summary.go:111.16,113.3 1 0 -github.com/muety/wakapi/services/summary.go:118.102,121.16 2 1 -github.com/muety/wakapi/services/summary.go:125.2,129.26 4 1 -github.com/muety/wakapi/services/summary.go:134.2,140.34 6 1 -github.com/muety/wakapi/services/summary.go:156.2,156.25 1 1 -github.com/muety/wakapi/services/summary.go:161.2,173.30 2 1 -github.com/muety/wakapi/services/summary.go:121.16,123.3 1 0 -github.com/muety/wakapi/services/summary.go:129.26,131.3 1 1 -github.com/muety/wakapi/services/summary.go:140.34,142.20 2 1 -github.com/muety/wakapi/services/summary.go:143.30,144.29 1 1 -github.com/muety/wakapi/services/summary.go:145.31,146.30 1 1 -github.com/muety/wakapi/services/summary.go:147.29,148.28 1 1 -github.com/muety/wakapi/services/summary.go:149.25,150.24 1 1 -github.com/muety/wakapi/services/summary.go:151.30,152.29 1 1 -github.com/muety/wakapi/services/summary.go:156.25,159.3 2 1 -github.com/muety/wakapi/services/summary.go:178.76,180.2 1 0 -github.com/muety/wakapi/services/summary.go:182.62,185.2 2 0 -github.com/muety/wakapi/services/summary.go:187.66,190.2 2 0 -github.com/muety/wakapi/services/summary.go:194.125,197.30 2 1 -github.com/muety/wakapi/services/summary.go:201.2,202.28 2 1 -github.com/muety/wakapi/services/summary.go:210.2,210.40 1 1 -github.com/muety/wakapi/services/summary.go:214.2,214.67 1 1 -github.com/muety/wakapi/services/summary.go:197.30,199.3 1 1 -github.com/muety/wakapi/services/summary.go:202.28,208.3 1 1 -github.com/muety/wakapi/services/summary.go:210.40,212.3 1 1 -github.com/muety/wakapi/services/summary.go:217.87,218.72 1 1 -github.com/muety/wakapi/services/summary.go:226.2,227.16 2 1 -github.com/muety/wakapi/services/summary.go:232.2,233.37 2 1 -github.com/muety/wakapi/services/summary.go:237.2,239.30 3 1 -github.com/muety/wakapi/services/summary.go:250.2,251.29 2 1 -github.com/muety/wakapi/services/summary.go:256.2,257.16 2 1 -github.com/muety/wakapi/services/summary.go:218.72,224.3 1 1 -github.com/muety/wakapi/services/summary.go:227.16,230.3 2 0 -github.com/muety/wakapi/services/summary.go:233.37,235.3 1 1 -github.com/muety/wakapi/services/summary.go:239.30,240.48 1 1 -github.com/muety/wakapi/services/summary.go:240.48,241.41 1 1 -github.com/muety/wakapi/services/summary.go:244.4,245.29 2 1 -github.com/muety/wakapi/services/summary.go:241.41,243.5 1 1 -github.com/muety/wakapi/services/summary.go:251.29,252.18 1 1 -github.com/muety/wakapi/services/summary.go:252.18,254.4 1 1 -github.com/muety/wakapi/services/summary.go:260.97,261.24 1 1 -github.com/muety/wakapi/services/summary.go:265.2,280.30 5 1 -github.com/muety/wakapi/services/summary.go:310.2,313.26 3 1 -github.com/muety/wakapi/services/summary.go:261.24,263.3 1 0 -github.com/muety/wakapi/services/summary.go:280.30,282.41 2 1 -github.com/muety/wakapi/services/summary.go:287.3,287.38 1 1 -github.com/muety/wakapi/services/summary.go:291.3,291.37 1 1 -github.com/muety/wakapi/services/summary.go:295.3,295.34 1 1 -github.com/muety/wakapi/services/summary.go:299.3,307.25 8 1 -github.com/muety/wakapi/services/summary.go:282.41,284.12 2 1 -github.com/muety/wakapi/services/summary.go:287.38,289.4 1 0 -github.com/muety/wakapi/services/summary.go:291.37,293.4 1 1 -github.com/muety/wakapi/services/summary.go:295.34,297.4 1 1 -github.com/muety/wakapi/services/summary.go:316.127,320.32 2 1 -github.com/muety/wakapi/services/summary.go:324.2,324.27 1 1 -github.com/muety/wakapi/services/summary.go:332.2,334.26 3 1 -github.com/muety/wakapi/services/summary.go:339.2,339.43 1 1 -github.com/muety/wakapi/services/summary.go:343.2,343.17 1 1 -github.com/muety/wakapi/services/summary.go:320.32,322.3 1 1 -github.com/muety/wakapi/services/summary.go:324.27,325.37 1 1 -github.com/muety/wakapi/services/summary.go:325.37,327.4 1 1 -github.com/muety/wakapi/services/summary.go:327.9,329.4 1 1 -github.com/muety/wakapi/services/summary.go:334.26,337.3 2 1 -github.com/muety/wakapi/services/summary.go:339.43,341.3 1 1 -github.com/muety/wakapi/services/summary.go:346.116,347.25 1 1 -github.com/muety/wakapi/services/summary.go:351.2,354.44 2 1 -github.com/muety/wakapi/services/summary.go:359.2,359.40 1 1 -github.com/muety/wakapi/services/summary.go:384.2,384.54 1 1 -github.com/muety/wakapi/services/summary.go:388.2,388.18 1 1 -github.com/muety/wakapi/services/summary.go:347.25,349.3 1 0 -github.com/muety/wakapi/services/summary.go:354.44,356.3 1 1 -github.com/muety/wakapi/services/summary.go:359.40,361.19 2 1 -github.com/muety/wakapi/services/summary.go:368.3,373.34 3 1 -github.com/muety/wakapi/services/summary.go:378.3,378.22 1 1 -github.com/muety/wakapi/services/summary.go:361.19,362.12 1 1 -github.com/muety/wakapi/services/summary.go:373.34,375.4 1 1 -github.com/muety/wakapi/services/summary.go:378.22,380.4 1 1 -github.com/muety/wakapi/services/summary.go:384.54,386.3 1 1 -github.com/muety/wakapi/services/summary.go:391.59,393.2 1 1 -github.com/muety/wakapi/services/summary.go:395.63,396.37 1 0 -github.com/muety/wakapi/services/summary.go:396.37,397.36 1 0 -github.com/muety/wakapi/services/summary.go:397.36,399.4 1 0 +github.com/muety/wakapi/services/report.go:81.2,81.65 1 0 +github.com/muety/wakapi/services/report.go:98.2,98.24 1 0 +github.com/muety/wakapi/services/report.go:74.22,78.3 3 0 +github.com/muety/wakapi/services/report.go:81.65,91.47 3 0 +github.com/muety/wakapi/services/report.go:91.47,93.4 1 0 +github.com/muety/wakapi/services/report.go:93.9,95.4 1 0 +github.com/muety/wakapi/services/report.go:101.80,102.22 1 0 +github.com/muety/wakapi/services/report.go:107.2,107.29 1 0 +github.com/muety/wakapi/services/report.go:112.2,116.16 4 0 +github.com/muety/wakapi/services/report.go:121.2,128.65 2 0 +github.com/muety/wakapi/services/report.go:133.2,134.12 2 0 +github.com/muety/wakapi/services/report.go:102.22,105.3 2 0 +github.com/muety/wakapi/services/report.go:107.29,110.3 2 0 +github.com/muety/wakapi/services/report.go:116.16,119.3 2 0 +github.com/muety/wakapi/services/report.go:128.65,131.3 2 0 +github.com/muety/wakapi/services/report.go:137.63,138.41 1 0 +github.com/muety/wakapi/services/report.go:145.2,145.12 1 0 +github.com/muety/wakapi/services/report.go:138.41,139.30 1 0 +github.com/muety/wakapi/services/report.go:139.30,140.16 1 0 +github.com/muety/wakapi/services/report.go:140.16,142.5 1 0 github.com/muety/wakapi/services/user.go:24.99,34.33 3 0 github.com/muety/wakapi/services/user.go:55.2,55.12 1 0 github.com/muety/wakapi/services/user.go:34.33,35.31 1 0 @@ -916,113 +1095,3 @@ github.com/muety/wakapi/services/user.go:173.85,175.2 1 0 github.com/muety/wakapi/services/user.go:177.57,184.2 4 0 github.com/muety/wakapi/services/user.go:186.38,188.2 1 0 github.com/muety/wakapi/services/user.go:190.57,195.2 1 0 -github.com/muety/wakapi/services/aggregation.go:29.142,37.2 1 0 -github.com/muety/wakapi/services/aggregation.go:46.43,48.37 1 0 -github.com/muety/wakapi/services/aggregation.go:52.2,54.19 3 0 -github.com/muety/wakapi/services/aggregation.go:48.37,50.3 1 0 -github.com/muety/wakapi/services/aggregation.go:57.67,58.47 1 0 -github.com/muety/wakapi/services/aggregation.go:61.2,66.40 4 0 -github.com/muety/wakapi/services/aggregation.go:70.2,70.50 1 0 -github.com/muety/wakapi/services/aggregation.go:75.2,75.60 1 0 -github.com/muety/wakapi/services/aggregation.go:81.2,81.35 1 0 -github.com/muety/wakapi/services/aggregation.go:58.47,60.3 1 0 -github.com/muety/wakapi/services/aggregation.go:66.40,68.3 1 0 -github.com/muety/wakapi/services/aggregation.go:70.50,72.3 1 0 -github.com/muety/wakapi/services/aggregation.go:75.60,79.3 3 0 -github.com/muety/wakapi/services/aggregation.go:84.109,85.24 1 0 -github.com/muety/wakapi/services/aggregation.go:85.24,86.111 1 0 -github.com/muety/wakapi/services/aggregation.go:86.111,88.4 1 0 -github.com/muety/wakapi/services/aggregation.go:88.9,91.4 2 0 -github.com/muety/wakapi/services/aggregation.go:95.80,96.33 1 0 -github.com/muety/wakapi/services/aggregation.go:96.33,97.60 1 0 -github.com/muety/wakapi/services/aggregation.go:97.60,99.4 1 0 -github.com/muety/wakapi/services/aggregation.go:103.100,107.59 3 0 -github.com/muety/wakapi/services/aggregation.go:122.2,123.16 2 0 -github.com/muety/wakapi/services/aggregation.go:129.2,130.16 2 0 -github.com/muety/wakapi/services/aggregation.go:136.2,137.44 2 0 -github.com/muety/wakapi/services/aggregation.go:142.2,142.41 1 0 -github.com/muety/wakapi/services/aggregation.go:156.2,156.12 1 0 -github.com/muety/wakapi/services/aggregation.go:107.59,110.3 2 0 -github.com/muety/wakapi/services/aggregation.go:110.8,110.47 1 0 -github.com/muety/wakapi/services/aggregation.go:110.47,112.30 2 0 -github.com/muety/wakapi/services/aggregation.go:112.30,113.43 1 0 -github.com/muety/wakapi/services/aggregation.go:113.43,115.5 1 0 -github.com/muety/wakapi/services/aggregation.go:117.8,119.3 1 0 -github.com/muety/wakapi/services/aggregation.go:123.16,126.3 2 0 -github.com/muety/wakapi/services/aggregation.go:130.16,133.3 2 0 -github.com/muety/wakapi/services/aggregation.go:137.44,139.3 1 0 -github.com/muety/wakapi/services/aggregation.go:142.41,143.21 1 0 -github.com/muety/wakapi/services/aggregation.go:143.21,147.4 1 0 -github.com/muety/wakapi/services/aggregation.go:147.9,147.62 1 0 -github.com/muety/wakapi/services/aggregation.go:147.62,151.4 1 0 -github.com/muety/wakapi/services/aggregation.go:159.73,162.27 3 0 -github.com/muety/wakapi/services/aggregation.go:167.2,167.27 1 0 -github.com/muety/wakapi/services/aggregation.go:170.2,170.12 1 0 -github.com/muety/wakapi/services/aggregation.go:162.27,163.39 1 0 -github.com/muety/wakapi/services/aggregation.go:163.39,165.4 1 0 -github.com/muety/wakapi/services/aggregation.go:167.27,169.3 1 0 -github.com/muety/wakapi/services/aggregation.go:173.69,176.27 3 0 -github.com/muety/wakapi/services/aggregation.go:176.27,178.3 1 0 -github.com/muety/wakapi/services/aggregation.go:181.83,196.41 5 0 -github.com/muety/wakapi/services/aggregation.go:196.41,206.3 3 0 -github.com/muety/wakapi/services/aggregation.go:209.34,212.2 2 0 -github.com/muety/wakapi/services/diagnostics.go:14.101,19.2 1 0 -github.com/muety/wakapi/services/diagnostics.go:21.101,23.2 1 0 -github.com/muety/wakapi/services/key_value.go:14.89,19.2 1 0 -github.com/muety/wakapi/services/key_value.go:21.83,23.2 1 0 -github.com/muety/wakapi/services/key_value.go:25.78,27.16 2 0 -github.com/muety/wakapi/services/key_value.go:33.2,33.11 1 0 -github.com/muety/wakapi/services/key_value.go:27.16,32.3 1 0 -github.com/muety/wakapi/services/key_value.go:36.72,38.2 1 0 -github.com/muety/wakapi/services/key_value.go:40.60,42.2 1 0 -github.com/muety/wakapi/services/misc.go:21.126,28.2 1 0 -github.com/muety/wakapi/services/misc.go:40.50,42.48 1 0 -github.com/muety/wakapi/services/misc.go:46.2,48.19 3 0 -github.com/muety/wakapi/services/misc.go:42.48,44.3 1 0 -github.com/muety/wakapi/services/misc.go:51.51,53.16 2 0 -github.com/muety/wakapi/services/misc.go:57.2,60.26 3 0 -github.com/muety/wakapi/services/misc.go:66.2,68.40 2 0 -github.com/muety/wakapi/services/misc.go:73.2,75.33 3 0 -github.com/muety/wakapi/services/misc.go:79.2,84.17 2 0 -github.com/muety/wakapi/services/misc.go:88.2,91.17 1 0 -github.com/muety/wakapi/services/misc.go:95.2,95.12 1 0 -github.com/muety/wakapi/services/misc.go:53.16,55.3 1 0 -github.com/muety/wakapi/services/misc.go:60.26,65.3 1 0 -github.com/muety/wakapi/services/misc.go:68.40,70.3 1 0 -github.com/muety/wakapi/services/misc.go:75.33,78.3 2 0 -github.com/muety/wakapi/services/misc.go:84.17,86.3 1 0 -github.com/muety/wakapi/services/misc.go:91.17,93.3 1 0 -github.com/muety/wakapi/services/misc.go:98.116,99.24 1 0 -github.com/muety/wakapi/services/misc.go:99.24,100.151 1 0 -github.com/muety/wakapi/services/misc.go:100.151,102.4 1 0 -github.com/muety/wakapi/services/misc.go:102.9,107.4 1 0 -github.com/muety/wakapi/services/project_label.go:20.111,27.2 1 0 -github.com/muety/wakapi/services/project_label.go:29.80,31.2 1 0 -github.com/muety/wakapi/services/project_label.go:33.90,34.51 1 0 -github.com/muety/wakapi/services/project_label.go:38.2,39.16 2 0 -github.com/muety/wakapi/services/project_label.go:42.2,43.20 2 0 -github.com/muety/wakapi/services/project_label.go:34.51,36.3 1 0 -github.com/muety/wakapi/services/project_label.go:39.16,41.3 1 0 -github.com/muety/wakapi/services/project_label.go:46.108,49.16 3 0 -github.com/muety/wakapi/services/project_label.go:53.2,53.31 1 0 -github.com/muety/wakapi/services/project_label.go:60.2,60.29 1 0 -github.com/muety/wakapi/services/project_label.go:49.16,51.3 1 0 -github.com/muety/wakapi/services/project_label.go:53.31,54.50 1 0 -github.com/muety/wakapi/services/project_label.go:54.50,56.4 1 0 -github.com/muety/wakapi/services/project_label.go:56.9,58.4 1 0 -github.com/muety/wakapi/services/project_label.go:63.116,66.16 3 0 -github.com/muety/wakapi/services/project_label.go:70.2,70.31 1 0 -github.com/muety/wakapi/services/project_label.go:77.2,77.29 1 0 -github.com/muety/wakapi/services/project_label.go:66.16,68.3 1 0 -github.com/muety/wakapi/services/project_label.go:70.31,71.45 1 0 -github.com/muety/wakapi/services/project_label.go:71.45,73.4 1 0 -github.com/muety/wakapi/services/project_label.go:73.9,75.4 1 0 -github.com/muety/wakapi/services/project_label.go:80.98,82.16 2 0 -github.com/muety/wakapi/services/project_label.go:86.2,88.20 3 0 -github.com/muety/wakapi/services/project_label.go:82.16,84.3 1 0 -github.com/muety/wakapi/services/project_label.go:91.74,92.24 1 0 -github.com/muety/wakapi/services/project_label.go:95.2,98.12 4 0 -github.com/muety/wakapi/services/project_label.go:92.24,94.3 1 0 -github.com/muety/wakapi/services/project_label.go:101.89,103.14 2 0 -github.com/muety/wakapi/services/project_label.go:106.2,109.4 1 0 -github.com/muety/wakapi/services/project_label.go:103.14,105.3 1 0 diff --git a/services/duration_test.go b/services/duration_test.go index 7eadc4f..9de5dbb 100644 --- a/services/duration_test.go +++ b/services/duration_test.go @@ -14,6 +14,7 @@ const ( TestUserId = "muety" TestProject1 = "test-project-1" TestProject2 = "test-project-2" + TestProject3 = "test-project-3" TestLanguageGo = "Go" TestLanguageJava = "Java" TestLanguagePython = "Python" @@ -161,6 +162,27 @@ func (suite *DurationServiceTestSuite) TestDurationService_Get() { assert.Equal(suite.T(), 3, durations[2].NumHeartbeats) } +func (suite *DurationServiceTestSuite) TestDurationService_Get_Filtered() { + sut := NewDurationService(suite.HeartbeatService) + + var ( + from time.Time + to time.Time + durations models.Durations + err error + ) + + from, to = suite.TestStartTime.Add(-1*time.Hour), suite.TestStartTime.Add(1*time.Hour) + suite.HeartbeatService.On("GetAllWithin", from, to, suite.TestUser).Return(filterHeartbeats(from, to, suite.TestHeartbeats), nil) + + durations, err = sut.Get(from, to, suite.TestUser, models.NewFiltersWith(models.SummaryEditor, TestEditorGoland)) + assert.Nil(suite.T(), err) + assert.Len(suite.T(), durations, 2) + for _, d := range durations { + assert.Equal(suite.T(), TestEditorGoland, d.Editor) + } +} + func filterHeartbeats(from, to time.Time, heartbeats []*models.Heartbeat) []*models.Heartbeat { filtered := make([]*models.Heartbeat, 0, len(heartbeats)) for _, h := range heartbeats { diff --git a/services/summary_test.go b/services/summary_test.go index 76e4031..0160b20 100644 --- a/services/summary_test.go +++ b/services/summary_test.go @@ -79,8 +79,8 @@ func (suite *SummaryServiceTestSuite) SetupSuite() { { ID: uint(rand.Uint32()), UserID: TestUserId, - ProjectKey: TestProjectLabel3, - Label: "blaahh", + ProjectKey: TestProject3, + Label: TestProjectLabel3, }, } } @@ -386,7 +386,7 @@ func (suite *SummaryServiceTestSuite) TestSummaryService_Aliased() { Duration: 0, // not relevant here }) - suite.DurationService.On("Get", from, to, suite.TestUser, mock.Anything).Return(models.Durations(durations), nil) + suite.DurationService.On("Get", from, to, suite.TestUser, mock.Anything).Return(durations, nil) suite.AliasService.On("InitializeUser", TestUserId).Return(nil) suite.AliasService.On("GetAliasOrDefault", TestUserId, mock.Anything, TestProject1).Return(TestProject2, nil) suite.AliasService.On("GetAliasOrDefault", TestUserId, mock.Anything, TestProject2).Return(TestProject2, nil) @@ -441,6 +441,38 @@ func (suite *SummaryServiceTestSuite) TestSummaryService_Aliased_ProjectLabels() assert.Equal(suite.T(), 6, result.NumHeartbeats) } +func (suite *SummaryServiceTestSuite) TestSummaryService_Filters() { + sut := NewSummaryService(suite.SummaryRepository, suite.DurationService, suite.AliasService, suite.ProjectLabelService) + + suite.AliasService.On("InitializeUser", suite.TestUser.ID).Return(nil) + suite.ProjectLabelService.On("GetByUser", suite.TestUser.ID).Return([]*models.ProjectLabel{}, nil) + + from, to := suite.TestStartTime, suite.TestStartTime.Add(1*time.Hour) + filters := models.NewFiltersWith(models.SummaryProject, TestProject1).With(models.SummaryLabel, TestProjectLabel3) + + suite.DurationService.On("Get", from, to, suite.TestUser, mock.Anything).Return(models.Durations{}, nil) + suite.AliasService.On("InitializeUser", TestUserId).Return(nil) + suite.AliasService.On("GetByUserAndKeyAndType", TestUserId, TestProject1, models.SummaryProject).Return([]*models.Alias{ + { + Type: models.SummaryProject, + Key: TestProject1, + Value: TestProject2, + }, + }, nil) + suite.ProjectLabelService.On("GetByUserGroupedInverted", suite.TestUser.ID).Return(map[string][]*models.ProjectLabel{ + suite.TestLabels[0].Label: suite.TestLabels[0:1], + suite.TestLabels[1].Label: suite.TestLabels[1:2], + }, nil).Once() + + sut.Aliased(from, to, suite.TestUser, sut.Summarize, filters, false) + + effectiveFilters := suite.DurationService.Calls[0].Arguments[3].(*models.Filters) + assert.Contains(suite.T(), effectiveFilters.Project, TestProject1) // because actually requested + assert.Contains(suite.T(), effectiveFilters.Project, TestProject2) // because of alias + assert.Contains(suite.T(), effectiveFilters.Project, TestProject3) // because of label + assert.Contains(suite.T(), effectiveFilters.Label, TestProjectLabel3) +} + func filterDurations(from, to time.Time, durations models.Durations) models.Durations { filtered := make([]*models.Duration, 0, len(durations)) for _, d := range durations {