From 5d5662782ae09b68b922da3ab5f14ddab3f00fcc Mon Sep 17 00:00:00 2001 From: Wil Simpson Date: Sun, 17 Mar 2024 18:11:36 -0400 Subject: [PATCH] Added db testing --- coverage.out | 759 +++++++++----------------------------- pkg/repository/db_test.go | 53 +++ 2 files changed, 231 insertions(+), 581 deletions(-) create mode 100644 pkg/repository/db_test.go diff --git a/coverage.out b/coverage.out index c9fdb4b..90ad000 100644 --- a/coverage.out +++ b/coverage.out @@ -1,582 +1,179 @@ mode: atomic -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:50.62,53.2 2 124 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:59.33,61.16 2 6 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:61.16,64.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:67.2,67.81 1 5 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:67.81,69.3 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:71.2,72.16 2 4 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:72.16,74.3 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:77.2,78.16 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:78.16,80.3 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:82.2,82.46 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:89.33,91.16 2 12 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:91.16,94.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:97.2,97.80 1 11 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:97.80,99.3 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:101.2,102.16 2 10 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:102.16,104.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:107.2,107.114 1 10 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:107.114,109.3 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:112.2,113.31 2 8 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:113.31,116.3 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:118.2,126.8 1 6 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:133.27,135.16 2 7 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:135.16,138.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:141.2,141.80 1 6 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:141.80,143.3 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:145.2,146.16 2 5 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:146.16,148.3 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:150.2,150.22 1 3 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:150.22,152.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:155.2,155.124 1 3 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:155.124,157.3 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:159.2,160.16 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:160.16,163.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:165.2,165.30 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:172.27,174.16 2 6 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:174.16,177.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:180.2,180.85 1 5 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:180.85,182.3 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:185.2,185.81 1 3 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:185.81,187.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:189.2,190.16 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:190.16,193.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:195.2,195.30 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:202.33,204.16 2 8 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:204.16,207.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:210.2,210.80 1 7 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:210.80,213.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:215.2,216.16 2 7 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:216.16,219.3 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:221.2,221.22 1 5 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:221.22,223.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:225.2,225.124 1 5 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:225.124,228.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:230.2,230.30 1 4 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:237.34,239.16 2 8 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:239.16,242.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:245.2,245.80 1 7 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:245.80,247.3 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:249.2,250.16 2 6 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:250.16,253.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:256.2,257.83 1 6 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:257.83,259.3 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:261.2,262.16 2 5 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:262.16,265.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:267.2,267.26 1 4 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:274.34,276.16 2 5 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:276.16,279.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:282.2,282.85 1 4 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:282.85,284.3 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:286.2,287.16 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:287.16,290.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:292.2,292.26 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:299.26,301.16 2 8 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:301.16,304.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:307.2,307.80 1 7 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:307.80,309.3 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:311.2,312.16 2 5 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:312.16,314.3 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:316.2,316.22 1 3 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:316.22,318.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:320.2,321.16 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:321.16,322.34 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:322.34,324.4 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:326.3,326.101 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:329.2,329.24 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:336.27,338.16 2 9 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:338.16,341.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:344.2,344.80 1 8 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:344.80,346.3 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:348.2,349.16 2 6 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:349.16,351.3 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:353.2,353.22 1 4 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:353.22,355.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:357.2,363.16 3 4 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:363.16,364.34 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:364.34,366.4 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:368.3,368.101 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:371.2,371.30 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:377.38,384.16 2 64 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:384.16,386.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:388.2,395.16 2 64 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:395.16,397.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:399.2,401.8 1 64 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:404.94,411.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:411.16,413.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:415.2,418.8 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:424.17,426.39 2 4 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:427.30,428.32 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:429.32,431.17 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:431.17,434.4 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:435.3,435.18 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:435.18,437.4 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:439.3,439.24 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:440.10,442.35 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:445.2,445.25 1 3 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:451.29,455.43 3 23 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:455.43,457.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:459.2,459.39 1 23 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:460.30,461.76 1 19 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:463.32,464.74 1 4 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:466.10,468.37 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:471.2,471.16 1 23 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:471.16,474.3 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:476.2,476.22 1 20 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:476.22,479.3 2 5 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:481.2,481.23 1 15 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:487.19,494.16 2 16 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:494.16,497.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:499.2,500.61 2 16 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:500.61,510.17 2 4 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:510.17,513.4 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:514.3,514.38 1 4 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:514.38,516.4 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:518.3,518.24 1 4 -github.com/ShatteredRealms/go-backend/pkg/srv/character.go:521.2,521.21 1 16 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:39.57,42.2 2 62 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:47.9,49.16 2 7 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:49.16,52.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:55.2,55.59 1 6 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:55.59,57.3 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:60.2,60.72 1 5 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:60.72,62.17 2 4 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:62.17,65.4 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:68.2,70.6 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:70.6,72.17 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:72.17,75.4 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:77.3,82.17 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:82.17,85.4 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:92.9,94.16 2 8 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:94.16,97.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:100.2,100.59 1 7 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:100.59,102.3 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:104.2,105.30 2 6 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:105.30,106.73 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:106.73,108.4 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:109.8,109.23 1 4 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:109.23,111.3 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:113.2,114.6 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:114.6,116.17 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:116.17,119.4 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:121.3,126.17 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:126.17,129.4 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:136.27,138.16 2 11 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:138.16,141.3 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:144.2,144.59 1 9 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:144.59,147.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:148.2,152.16 2 8 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:152.16,155.3 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:159.2,159.72 1 5 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:159.72,161.17 2 4 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:161.17,164.4 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:166.3,167.17 2 4 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:167.17,170.4 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:172.3,173.36 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:173.36,174.45 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:174.45,176.10 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:179.3,179.15 1 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:179.15,182.4 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:185.2,191.16 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:191.16,194.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:196.2,196.30 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:202.27,204.16 2 9 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:204.16,207.3 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:210.2,210.59 1 7 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:210.59,212.3 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:214.2,217.16 1 6 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:217.16,219.3 1 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:221.2,222.16 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:222.16,225.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:226.2,227.16 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:227.16,229.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:231.2,236.16 1 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:236.16,239.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:241.2,241.30 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:247.28,249.16 2 7 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:249.16,252.3 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:255.2,255.72 1 5 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:255.72,257.3 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:259.2,260.16 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:260.16,263.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:265.2,265.14 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:265.14,267.3 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:269.2,269.22 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:275.27,277.16 2 7 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:277.16,280.3 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:283.2,283.72 1 5 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:283.72,285.3 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:287.2,295.16 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:295.16,296.44 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:296.44,298.4 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:300.3,301.76 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:304.2,304.30 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:310.27,312.16 2 7 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:312.16,315.3 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:318.2,318.72 1 5 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:318.72,320.3 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:322.2,325.16 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:325.16,326.45 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:326.45,328.4 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:330.3,331.71 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:334.2,334.30 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:340.27,342.16 2 7 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:342.16,345.3 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:348.2,348.72 1 5 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:348.72,350.3 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:352.2,353.16 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:353.16,354.45 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:354.45,356.4 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:358.3,359.69 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:362.2,362.30 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:368.29,370.16 2 6 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:370.16,373.3 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:376.2,376.72 1 4 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:376.72,378.3 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:380.2,381.16 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:381.16,384.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:386.2,386.29 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:392.29,394.16 2 9 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:394.16,397.3 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:400.2,400.59 1 7 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:400.59,402.3 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:404.2,405.30 2 6 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:405.30,406.73 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:406.73,408.4 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:409.8,409.43 1 5 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:409.43,412.3 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:414.2,415.16 2 4 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:415.16,418.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:420.2,420.29 1 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:426.27,428.16 2 8 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:428.16,431.3 2 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:434.2,434.72 1 6 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:434.72,436.3 1 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:438.2,439.16 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:439.16,442.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:443.2,444.16 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:444.16,446.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:448.2,454.16 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:454.16,455.44 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:455.44,457.4 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:459.3,460.77 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:463.2,463.30 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:469.33,476.16 2 84 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:476.16,478.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:480.2,487.16 2 84 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:487.16,489.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:491.2,493.8 1 84 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:497.88,504.16 2 40 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:504.16,507.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:509.2,512.8 1 40 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:515.132,517.16 2 26 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:517.16,520.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:522.2,523.16 2 26 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:523.16,526.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:528.2,529.16 2 26 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:529.16,532.3 2 5 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:534.2,534.22 1 21 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:534.22,536.3 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:538.2,538.39 1 20 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:538.39,540.3 1 7 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:542.2,542.23 1 13 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:545.107,547.16 2 4 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:547.16,549.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:551.2,553.16 2 4 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:553.16,556.3 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:558.2,558.50 1 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:558.50,560.17 2 3 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:560.17,563.4 2 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:565.3,565.36 1 2 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:565.36,566.31 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:566.31,568.5 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/chat.go:572.2,572.30 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:38.63,41.2 2 62 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:52.42,54.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:54.16,57.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:60.2,60.69 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:60.69,62.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:65.2,69.36 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:69.36,72.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:74.2,74.64 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:74.64,76.17 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:76.17,78.4 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:80.3,85.9 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:89.2,90.31 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:90.31,91.45 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:91.45,92.35 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:92.36,94.5 0 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:98.2,99.65 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:99.65,101.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:103.2,107.16 3 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:107.16,110.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:112.2,150.16 4 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:150.16,153.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:155.2,156.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:156.16,158.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:160.2,164.8 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:170.33,172.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:172.16,175.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:178.2,178.79 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:178.79,180.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:182.2,183.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:183.16,185.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:187.2,188.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:188.16,190.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:193.2,201.36 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:201.36,204.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:206.2,206.23 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:212.42,214.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:214.16,217.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:220.2,220.79 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:220.79,222.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:224.2,232.36 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:232.36,235.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:237.2,237.64 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:237.64,239.17 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:239.17,241.4 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:243.3,248.9 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:251.2,255.16 3 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:255.16,258.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:260.2,298.16 4 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:298.16,301.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:304.2,315.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:315.16,318.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:321.2,322.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:322.16,324.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:327.2,331.8 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:338.39,345.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:345.16,347.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:349.2,356.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:356.16,358.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:360.2,360.62 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:360.62,362.17 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:362.17,365.4 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:367.3,368.17 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:368.17,371.4 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:373.3,376.9 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:379.2,381.8 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:384.94,391.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:391.16,393.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/connection.go:395.2,398.8 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/health.go:13.54,15.2 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/health.go:17.92,19.2 1 1 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:46.66,49.2 2 62 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:61.26,63.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:63.16,65.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:67.2,68.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:68.16,70.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:72.2,79.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:79.16,81.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:83.2,84.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:84.16,86.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:88.2,88.30 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:95.20,97.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:97.16,99.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:101.2,108.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:108.16,110.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:112.2,112.22 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:119.27,121.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:121.16,123.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:125.2,126.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:126.16,128.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:130.2,131.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:131.16,133.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:135.2,135.35 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:135.35,137.17 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:137.17,140.4 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:143.2,143.30 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:150.27,152.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:152.16,154.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:156.2,157.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:157.16,159.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:161.2,162.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:162.16,164.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:166.2,168.39 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:168.39,170.17 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:170.17,173.4 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:176.2,176.30 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:183.26,185.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:185.16,187.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:189.2,190.48 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:191.30,193.17 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:193.17,195.4 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:197.3,197.93 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:199.32,201.17 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:201.17,203.4 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:205.3,205.102 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:207.10,209.37 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:212.2,212.16 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:212.16,214.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:216.2,216.25 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:216.25,218.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:220.2,221.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:221.16,223.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:225.2,225.33 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:232.26,234.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:234.16,236.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:238.2,239.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:239.16,241.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:243.2,244.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:244.16,246.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:249.2,249.33 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:249.33,250.44 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:250.44,252.18 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:252.18,258.5 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:262.3,262.24 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:262.24,264.18 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:264.18,266.5 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:268.8,270.23 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:270.23,273.43 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:273.43,275.5 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:278.4,278.45 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:278.45,279.36 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:279.36,282.20 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:282.20,284.7 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:285.11,290.40 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:290.40,292.21 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:292.21,294.8 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:300.4,300.35 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:300.35,302.19 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:302.19,304.6 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:306.9,306.44 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:306.44,308.43 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:308.43,310.19 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:310.19,312.6 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:318.2,318.36 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:325.20,327.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:327.16,329.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:331.2,332.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:332.16,334.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:336.2,337.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:337.16,339.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:341.2,342.33 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:342.33,344.40 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:344.40,346.18 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:346.18,349.5 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:351.4,352.18 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:352.18,355.5 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:357.8,358.34 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:358.34,359.41 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:359.41,361.19 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:361.19,364.6 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:369.2,369.30 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:376.27,378.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:378.16,380.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:382.2,383.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:383.16,385.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:387.2,387.24 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:394.21,396.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:396.16,398.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:400.2,401.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:401.16,403.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:405.2,405.40 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:412.26,414.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:414.16,416.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:418.2,419.41 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:420.30,422.17 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:422.17,424.4 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:425.3,425.69 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:427.32,428.79 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:430.10,432.37 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:435.2,435.16 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:435.16,437.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:439.2,439.16 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:439.16,441.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:443.2,443.24 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:450.20,452.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:452.16,454.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:456.2,457.41 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:458.24,460.17 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:460.17,462.4 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:463.3,463.63 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:465.26,466.73 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:468.10,470.37 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:473.2,473.16 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:473.16,475.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:476.2,476.16 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:476.16,478.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:480.2,480.24 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:486.42,493.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:493.16,495.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:497.2,504.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:504.16,506.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:508.2,508.62 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:508.62,510.17 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:510.17,513.4 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:515.3,516.17 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:516.17,519.4 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:521.3,524.9 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:527.2,529.8 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:532.97,539.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:539.16,541.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:543.2,546.8 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:549.85,551.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:551.16,554.3 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:557.2,557.75 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:557.75,559.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:561.2,561.12 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:568.9,569.21 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:569.21,570.65 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:570.65,572.4 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:574.3,575.13 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:579.2,584.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:584.16,586.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:589.2,594.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:594.16,596.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:598.2,598.12 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:605.9,606.21 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:606.21,607.65 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:607.65,609.4 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:611.3,612.13 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:615.2,625.27 3 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:625.27,627.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:630.2,636.27 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:636.27,638.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:640.2,640.12 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:647.9,648.21 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:648.21,649.65 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:649.65,651.4 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:653.3,654.13 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:658.2,663.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:663.16,665.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:668.2,673.16 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:673.16,675.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:677.2,677.12 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:680.119,701.2 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:703.87,763.2 4 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:765.72,770.2 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:772.68,774.2 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:776.78,778.2 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:780.110,782.35 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:782.35,784.17 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:784.17,786.4 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:789.2,789.64 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:789.64,791.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:793.2,793.12 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:799.31,800.47 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:801.24,803.17 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:803.17,805.4 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:806.3,806.63 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:808.26,809.73 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:811.10,813.37 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:816.2,816.16 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:816.16,818.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:819.2,819.16 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:819.16,821.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:823.2,823.17 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:829.37,830.47 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:831.30,833.17 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:833.17,835.4 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:836.3,836.69 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:838.32,839.79 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:841.10,843.37 2 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:846.2,846.16 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:846.16,848.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:850.2,850.16 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:850.16,852.3 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/servermanager.go:854.2,854.17 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/util.go:17.9,18.30 1 148 -github.com/ShatteredRealms/go-backend/pkg/srv/util.go:18.30,22.56 2 424 -github.com/ShatteredRealms/go-backend/pkg/srv/util.go:22.56,24.4 1 0 -github.com/ShatteredRealms/go-backend/pkg/srv/util.go:27.2,27.12 1 148 +github.com/ShatteredRealms/go-backend/pkg/repository/cacher.go:13.31,14.20 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/cacher.go:14.20,16.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/cacher.go:19.111,22.9 3 0 +github.com/ShatteredRealms/go-backend/pkg/repository/cacher.go:22.9,24.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/cacher.go:26.2,26.50 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/cacher.go:26.50,28.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/cacher.go:30.2,30.15 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/cacher.go:33.93,36.16 3 0 +github.com/ShatteredRealms/go-backend/pkg/repository/cacher.go:36.16,38.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/cacher.go:40.2,41.12 2 0 +github.com/ShatteredRealms/go-backend/pkg/repository/cacher.go:44.62,47.2 2 0 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:32.62,36.2 1 32 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:38.101,41.25 3 4 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:41.25,44.3 2 0 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:46.2,46.30 1 4 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:46.30,49.3 2 3 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:51.2,52.23 2 1 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:55.112,60.16 3 14 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:60.16,63.3 2 1 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:65.2,65.23 1 13 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:68.110,70.16 2 2 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:70.16,72.3 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:74.2,74.23 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:77.92,78.22 1 4 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:78.22,80.3 1 2 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:81.2,81.85 1 2 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:84.95,87.25 3 8 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:87.25,89.3 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:91.2,91.30 1 7 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:91.30,93.3 1 4 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:95.2,95.23 1 3 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:98.87,101.2 2 4 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:103.106,106.2 2 4 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:108.72,109.16 1 2 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:109.16,111.3 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:113.2,114.10 2 1 +github.com/ShatteredRealms/go-backend/pkg/repository/character_r.go:117.65,119.2 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:29.135,30.13 1 4 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:30.13,32.33 2 2 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:32.33,36.25 1 4 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:36.25,39.5 2 1 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:42.3,43.13 2 1 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:46.2,46.123 1 2 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:49.123,57.2 3 4 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:59.116,61.2 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:63.86,67.2 3 2 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:69.116,71.2 1 17 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:73.94,75.2 1 6 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:77.98,79.2 1 3 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:81.60,83.2 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:85.99,88.25 3 10 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:88.25,90.3 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:92.2,92.30 1 9 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:92.30,94.3 1 8 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:96.2,96.21 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:99.107,102.25 3 3 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:102.25,104.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:106.2,106.30 1 3 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:106.30,108.3 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:110.2,110.21 1 2 +github.com/ShatteredRealms/go-backend/pkg/repository/chat_r.go:113.52,115.2 1 32 +github.com/ShatteredRealms/go-backend/pkg/repository/db.go:18.60,20.16 2 2 +github.com/ShatteredRealms/go-backend/pkg/repository/db.go:20.16,22.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/db.go:23.2,32.16 6 2 +github.com/ShatteredRealms/go-backend/pkg/repository/db.go:32.16,34.3 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/db.go:36.2,36.26 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/db.go:36.26,38.37 2 1 +github.com/ShatteredRealms/go-backend/pkg/repository/db.go:38.37,40.4 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/db.go:42.3,45.6 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/db.go:48.2,48.90 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/db.go:48.90,50.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/db.go:52.2,52.16 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:69.66,73.2 1 32 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:80.37,81.21 1 28 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:81.21,83.3 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:85.2,90.16 3 27 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:90.16,92.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:94.2,94.16 1 27 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:98.99,99.15 1 2 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:99.15,101.3 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:103.2,103.75 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:107.116,108.15 1 6 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:108.15,110.3 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:112.2,114.25 3 5 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:114.25,117.3 2 0 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:119.2,119.30 1 5 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:119.30,122.3 2 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:124.2,125.26 2 4 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:135.29,137.16 2 28 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:137.16,139.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:141.2,148.100 2 28 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:148.100,150.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:152.2,152.23 1 28 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:162.23,170.68 2 28 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:170.68,172.3 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:174.2,174.20 1 27 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:178.95,180.2 1 3 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:183.95,185.2 1 2 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:188.89,190.2 1 2 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:193.89,195.2 1 2 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:202.29,204.16 2 2 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:204.16,206.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:208.2,208.22 1 2 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:208.22,210.3 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:212.2,214.99 3 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:214.99,216.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:218.2,218.23 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:225.29,226.22 1 2 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:226.22,228.3 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:229.2,231.16 3 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:231.16,233.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:235.2,236.16 2 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:236.16,238.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:240.2,240.23 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:244.96,246.16 2 2 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:246.16,248.3 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:250.2,250.15 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:254.98,257.2 2 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:260.86,263.2 2 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:266.113,269.25 3 2 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:269.25,271.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:273.2,273.30 1 2 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:273.30,275.3 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:277.2,277.23 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:281.113,284.25 3 6 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:284.25,286.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:288.2,288.30 1 6 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:288.30,290.3 1 3 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:292.2,292.23 1 3 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:296.101,297.15 1 3 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:297.15,299.3 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:300.2,302.25 3 2 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:302.25,304.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:306.2,306.30 1 2 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:306.30,308.3 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:310.2,310.15 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:314.101,317.25 3 3 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:317.25,319.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:321.2,321.30 1 3 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:321.30,323.3 1 2 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:325.2,325.15 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:329.118,332.2 2 3 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:335.118,338.2 2 3 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:341.106,344.2 2 28 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:347.106,350.2 2 3 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:353.123,364.2 2 3 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:367.77,368.16 1 2 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:368.16,370.3 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:372.2,373.10 2 1 +github.com/ShatteredRealms/go-backend/pkg/repository/gamebackend_r.go:377.68,383.2 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/inventory_r.go:21.69,25.2 1 31 +github.com/ShatteredRealms/go-backend/pkg/repository/inventory_r.go:28.132,30.16 2 6 +github.com/ShatteredRealms/go-backend/pkg/repository/inventory_r.go:30.16,32.3 1 2 +github.com/ShatteredRealms/go-backend/pkg/repository/inventory_r.go:34.2,34.23 1 4 +github.com/ShatteredRealms/go-backend/pkg/repository/inventory_r.go:38.111,41.2 2 5 +github.com/ShatteredRealms/go-backend/pkg/repository/inventory_r.go:43.71,45.2 1 11 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:21.70,22.24 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:22.24,24.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:25.2,25.27 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:25.27,27.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:28.2,30.27 2 1 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:30.27,33.3 2 1 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:34.2,34.16 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:34.16,36.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:38.2,39.16 2 1 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:39.16,40.29 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:40.29,42.4 1 1 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:43.3,43.48 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:46.2,46.27 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:46.27,49.3 2 0 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:50.2,50.16 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:50.16,52.3 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:54.2,54.28 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:57.35,61.46 4 1 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:61.46,62.39 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:62.39,64.4 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:66.3,66.13 1 0 +github.com/ShatteredRealms/go-backend/pkg/repository/kafka.go:69.2,69.12 1 1 diff --git a/pkg/repository/db_test.go b/pkg/repository/db_test.go new file mode 100644 index 0000000..a056a3e --- /dev/null +++ b/pkg/repository/db_test.go @@ -0,0 +1,53 @@ +package repository_test + +import ( + "github.com/ShatteredRealms/go-backend/pkg/config" + "github.com/ShatteredRealms/go-backend/pkg/log" + "github.com/ShatteredRealms/go-backend/pkg/repository" + . "github.com/onsi/ginkgo/v2" + . "github.com/onsi/gomega" + "github.com/sirupsen/logrus/hooks/test" +) + +var _ = Describe("Db repository", func() { + var ( + pool config.DBPoolConfig + ) + BeforeEach(func() { + log.Logger, _ = test.NewNullLogger() + pool = config.DBPoolConfig{ + Master: config.DBConfig{ + Host: "127.0.0.1", + Port: "5432", + Name: "postgres", + Username: "postgres", + Password: "password", + }, + Slaves: []config.DBConfig{{ + Host: "127.0.0.1", + Port: "5432", + Name: "postgres", + Username: "postgres", + Password: "password", + }}, + } + }) + Describe("ConnectDb", func() { + When("given valid input", func() { + It("should work", func() { + out, err := repository.ConnectDB(pool) + Expect(err).NotTo(HaveOccurred()) + Expect(out).NotTo(BeNil()) + }) + }) + + When("given invalid input", func() { + It("should error", func() { + pool.Master.Host = "a" + out, err := repository.ConnectDB(pool) + Expect(err).To(HaveOccurred()) + Expect(out).To(BeNil()) + }) + }) + }) +})