소스 검색

Merge pull request #21 from johnko/patch-1

SYMBOLS was missing the characters T and W
tags/v1.0.0
Remco Verhoef 9 년 전
부모
커밋
b66235ea86
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. +3
    -2
      transfersh-server/codec.go

+ 3
- 2
transfersh-server/codec.go 파일 보기

@@ -1,7 +1,8 @@
/*
https://github.com/fs111/kurz.go/blob/master/src/codec.go

Copyright (c) 2011 André Kelpe
Originally written and Copyright (c) 2011 André Kelpe
Modifications Copyright (c) 2015 John Ko

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
@@ -30,7 +31,7 @@ import (

const (
// characters used for short-urls
SYMBOLS = "0123456789abcdefghijklmnopqrsuvwxyzABCDEFGHIJKLMNOPQRSTUVXYZ"
SYMBOLS = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"

// someone set us up the bomb !!
BASE = int64(len(SYMBOLS))


불러오는 중...
취소
저장