Skip to content

Instantly share code, notes, and snippets.

View stalko's full-sized avatar
⚔️

Artur Odnostalko stalko

⚔️
View GitHub Profile
@stalko
stalko / main.go
Created February 14, 2024 11:00
GoLang CustomTime format with json Unmarshal and Marshal operations
package main
import (
"encoding/json"
"fmt"
"log"
"strings"
"time"
)
@stalko
stalko / ExampleActionFilter.cs
Created October 24, 2018 11:42
Example action filter attribute for ASP.NET WEB API
using System.Linq;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
namespace Server.Attributes
{
public class ExampleFilterAttribute : ActionFilterAttribute
{
public override void OnActionExecuting(HttpActionContext actionContext)
{