Fix imports

This commit is contained in:
zervo 2024-11-22 08:10:38 +01:00
parent 56401afe01
commit b287df7a9e
13 changed files with 9 additions and 9 deletions

View file

@ -28,7 +28,7 @@ import (
"errors"
"git.zervo.org/zervo/GoSkola24API/internal/types"
pubtypes "git.zervo.org/zervo/GoSkola24API/pkg/goskola24api/types"
pubtypes "git.zervo.org/zervo/GoSkola24API/types"
)
func GetClasses(school pubtypes.School, checkAvailability bool) (_result []pubtypes.Class, _error error) {

View file

@ -29,7 +29,7 @@ import (
"git.zervo.org/zervo/GoSkola24API/internal/types"
"git.zervo.org/zervo/GoSkola24API/internal/utility"
pubtypes "git.zervo.org/zervo/GoSkola24API/pkg/goskola24api/types"
pubtypes "git.zervo.org/zervo/GoSkola24API/types"
)
func GetGenericSelection(school pubtypes.School, filters types.RequestFilters) (_result map[string]interface{}, _error error) {

View file

@ -28,7 +28,7 @@ import (
"errors"
"git.zervo.org/zervo/GoSkola24API/internal/types"
pubtypes "git.zervo.org/zervo/GoSkola24API/pkg/goskola24api/types"
pubtypes "git.zervo.org/zervo/GoSkola24API/types"
)
func GetRooms(school pubtypes.School, checkAvailability bool) (_result []pubtypes.Room, _error error) {

View file

@ -31,7 +31,7 @@ import (
"git.zervo.org/zervo/GoSkola24API/internal/types"
"git.zervo.org/zervo/GoSkola24API/internal/utility"
pubtypes "git.zervo.org/zervo/GoSkola24API/pkg/goskola24api/types"
pubtypes "git.zervo.org/zervo/GoSkola24API/types"
)
func GetSchools(api_host string) (_result []pubtypes.School, _error error) {

View file

@ -28,7 +28,7 @@ import (
"errors"
"git.zervo.org/zervo/GoSkola24API/internal/types"
pubtypes "git.zervo.org/zervo/GoSkola24API/pkg/goskola24api/types"
pubtypes "git.zervo.org/zervo/GoSkola24API/types"
)
// TODO: Create and implement proper students type once we have data

View file

@ -28,7 +28,7 @@ import (
"errors"
"git.zervo.org/zervo/GoSkola24API/internal/types"
pubtypes "git.zervo.org/zervo/GoSkola24API/pkg/goskola24api/types"
pubtypes "git.zervo.org/zervo/GoSkola24API/types"
)
func GetTeachers(school pubtypes.School, checkAvailability bool) (_result []pubtypes.Teacher, _error error) {

View file

@ -29,7 +29,7 @@ import (
"git.zervo.org/zervo/GoSkola24API/internal/types"
"git.zervo.org/zervo/GoSkola24API/internal/utility"
pubtypes "git.zervo.org/zervo/GoSkola24API/pkg/goskola24api/types"
pubtypes "git.zervo.org/zervo/GoSkola24API/types"
)
func GetTerms(api_host string) (_result pubtypes.Terms, _error error) {

View file

@ -22,11 +22,11 @@ You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package goskola24api
package GoSkola24API
import (
"git.zervo.org/zervo/GoSkola24API/internal/requests"
pubtypes "git.zervo.org/zervo/GoSkola24API/pkg/goskola24api/types"
pubtypes "git.zervo.org/zervo/GoSkola24API/types"
)
type Skola24API struct {