The Base Host URL is http://BASE_URL/api add thes url before the follwinf urls in the API.
Method: POST
Url: /oauth/login
Param: email
, password
Success:
The Base Host URL is http://BASE_URL/api add thes url before the follwinf urls in the API.
Method: POST
Url: /oauth/login
Param: email
, password
Success:
import 'package:flutter_local_notifications/flutter_local_notifications.dart'; | |
FlutterLocalNotificationsPlugin localNotificationsPlugin = FlutterLocalNotificationsPlugin(); | |
void initNotifications () async { | |
var initializeAndroid = AndroidInitializationSettings('@mipmap/ic_launcher'); | |
var initializeIOS = IOSInitializationSettings(); | |
var initializationSettings = InitializationSettings(initializeAndroid, initializeIOS); | |
await localNotificationsPlugin.initialize(initializationSettings); |
<?php | |
/** | |
* Class GeneratorCollection, allows for lazy loaded arrays using Generators withouth it's limitations. | |
* | |
* This collection class takes Generator as argument, and allows user to threat it like any kind of array. It will take | |
* care about storing the values returned from generator so user can iterate over it several times. | |
* | |
* NOTE: In current form only works with generators that uses integers as keys (lists). | |
*/ |
<?php | |
/** | |
* Class GeneratorCollection, allows for lazy loaded arrays using Generators withouth it's limitations. | |
* | |
* This collection class takes Generator as argument, and allows user to threat it like any kind of array. It will take | |
* care about storing the values returned from generator so user can iterate over it several times. | |
* | |
* NOTE: In current form only works with generators that uses integers as keys (lists). | |
*/ |
#!/bin/bash | |
# Ask for the php version to use it | |
echo "Which php version you want to user?" | |
read version | |
# Use the provided version of php |
#!/bin/bash | |
if [ $# -ne 1 ]; then | |
echo "Error: Invlaid number of arguments. expection 1 argument" | |
exit | |
fi | |
# Check the service status | |
# [ + ] (running) | |
# [ - ] (stopped) |
Organizing your Go (Golang) project's folder structure can help improve code readability, maintainability, and scalability. While there is no one-size-fits-all structure, here's a common folder structure for a Go project:
project-root/
├── cmd/
│ ├── your-app-name/
│ │ ├── main.go # Application entry point
│ │ └── ... # Other application-specific files