wiw/mysqlrepo.go
Your code does not pass gofmt in 2 places. Go fmt your code! Open
Open
package wiw
- Exclude checks
exported method MySQLRepository.ShiftsForUser should have comment or be unexported Open
Open
func (r *MySQLRepository) ShiftsForUser(ID int) ([]Shift, error) {
- Exclude checks
exported method MySQLRepository.UserDetails should have comment or be unexported Open
Open
func (r *MySQLRepository) UserDetails(ID int) (User, error) {
- Exclude checks
exported method MySQLRepository.UpdateOrCreateShift should have comment or be unexported Open
Open
func (r *MySQLRepository) UpdateOrCreateShift(shift *Shift) error {
- Exclude checks
exported method MySQLRepository.CreateShift should have comment or be unexported Open
Open
func (r *MySQLRepository) CreateShift(shift *Shift) error {
- Exclude checks
exported method MySQLRepository.ManagersForUser should have comment or be unexported Open
Open
func (r *MySQLRepository) ManagersForUser(ID int) ([]User, error) {
- Exclude checks
exported method MySQLRepository.ColleaguesForUser should have comment or be unexported Open
Open
func (r *MySQLRepository) ColleaguesForUser(ID int) ([]ColleaguesResult, error) {
- Exclude checks
exported type MySQLRepository should have comment or be unexported Open
Open
type MySQLRepository struct {
- Exclude checks
exported method MySQLRepository.ShiftsInRange should have comment or be unexported Open
Open
func (r *MySQLRepository) ShiftsInRange(from string, to string) ([]Shift, error) {
- Exclude checks