Fix imports
This commit is contained in:
parent
32f60b1a0c
commit
1ccb3787b6
13 changed files with 9 additions and 9 deletions
|
@ -28,7 +28,7 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"git.zervo.org/zervo/GoSkola24API/internal/types"
|
"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) {
|
func GetClasses(school pubtypes.School, checkAvailability bool) (_result []pubtypes.Class, _error error) {
|
||||||
|
|
|
@ -29,7 +29,7 @@ import (
|
||||||
|
|
||||||
"git.zervo.org/zervo/GoSkola24API/internal/types"
|
"git.zervo.org/zervo/GoSkola24API/internal/types"
|
||||||
"git.zervo.org/zervo/GoSkola24API/internal/utility"
|
"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) {
|
func GetGenericSelection(school pubtypes.School, filters types.RequestFilters) (_result map[string]interface{}, _error error) {
|
||||||
|
|
|
@ -28,7 +28,7 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"git.zervo.org/zervo/GoSkola24API/internal/types"
|
"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) {
|
func GetRooms(school pubtypes.School, checkAvailability bool) (_result []pubtypes.Room, _error error) {
|
||||||
|
|
|
@ -31,7 +31,7 @@ import (
|
||||||
|
|
||||||
"git.zervo.org/zervo/GoSkola24API/internal/types"
|
"git.zervo.org/zervo/GoSkola24API/internal/types"
|
||||||
"git.zervo.org/zervo/GoSkola24API/internal/utility"
|
"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) {
|
func GetSchools(api_host string) (_result []pubtypes.School, _error error) {
|
||||||
|
|
|
@ -28,7 +28,7 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"git.zervo.org/zervo/GoSkola24API/internal/types"
|
"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
|
// TODO: Create and implement proper students type once we have data
|
||||||
|
|
|
@ -28,7 +28,7 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"git.zervo.org/zervo/GoSkola24API/internal/types"
|
"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) {
|
func GetTeachers(school pubtypes.School, checkAvailability bool) (_result []pubtypes.Teacher, _error error) {
|
||||||
|
|
|
@ -29,7 +29,7 @@ import (
|
||||||
|
|
||||||
"git.zervo.org/zervo/GoSkola24API/internal/types"
|
"git.zervo.org/zervo/GoSkola24API/internal/types"
|
||||||
"git.zervo.org/zervo/GoSkola24API/internal/utility"
|
"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) {
|
func GetTerms(api_host string) (_result pubtypes.Terms, _error error) {
|
||||||
|
|
|
@ -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/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package goskola24api
|
package GoSkola24API
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.zervo.org/zervo/GoSkola24API/internal/requests"
|
"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 {
|
type Skola24API struct {
|
||||||
|
|
Loading…
Add table
Reference in a new issue