This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package repositories | |
| import ( | |
| "database/sql" | |
| "regexp" | |
| "testing" | |
| "github.com/jinzhu/gorm" | |
| "github.com/krittawatcode/go-todo-clean-arch/domains" | |
| "github.com/krittawatcode/go-todo-clean-arch/models" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package handler | |
| import ( | |
| "log" | |
| "net/http" | |
| "github.com/gin-gonic/gin" | |
| "github.com/jacobsngoodwin/memrizr/account/model" | |
| "github.com/jacobsngoodwin/memrizr/account/model/apperrors" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // "SPDX-License-Identifier: UNLICENSED" | |
| pragma solidity ^0.8.1; | |
| import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol"; | |
| contract Allowance is Ownable { | |
| // using SafeMath for uint; | |
| event AllowanceChanged(address indexed _forWho, address indexed _byWhom, uint _oldAmount, uint _newAmount); |
OlderNewer