Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllSmartphones ¶
func GetSmartphoneDetail ¶
GetSmartphoneDetail - Retrieves detailed information about a specific smartphone. This function fetches the smartphone details along with related data. If the smartphone is not found, it returns a 404 error.
func SearchSmartphoneWithMAUT ¶
SearchSmartphoneWithMAUT - Filters smartphones based on user input, then applies MAUT ranking to determine the best choices.
Request Body (JSON):
{
"brand": "Samsung",
"min_price": 4000000,
"max_price": 8000000,
"min_ram": 6
}
Returns:
- A ranked list of smartphones based on MAUT analysis.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.